added: 'packages stuff' to core/packages.nix
This commit is contained in:
parent
a4744fc5bf
commit
ca8fde8263
1 changed files with 98 additions and 49 deletions
|
|
@ -1,56 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ inputs, outputs, lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
programs = {
|
## find a better home for these please <3
|
||||||
traceroute.enable = true;
|
|
||||||
starship.enable = true;
|
|
||||||
fish.enable = true;
|
|
||||||
git.enable = true;
|
|
||||||
|
|
||||||
firefox.enable = true;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
|
|
||||||
## nixos
|
|
||||||
# nix-tree
|
|
||||||
# nix-init
|
|
||||||
# nix-index
|
|
||||||
# nixpkgs-review
|
|
||||||
# nix-output-monitor
|
|
||||||
|
|
||||||
## filsesystem
|
|
||||||
udiskie
|
|
||||||
ntfs3g
|
|
||||||
xfsprogs
|
|
||||||
|
|
||||||
## tools
|
|
||||||
fd
|
|
||||||
bc
|
|
||||||
gcc
|
|
||||||
tldr
|
|
||||||
wget
|
|
||||||
curl
|
|
||||||
file
|
|
||||||
zip
|
|
||||||
unzip
|
|
||||||
gnupg
|
|
||||||
blueman
|
|
||||||
busybox
|
|
||||||
ripgrep
|
|
||||||
killall
|
|
||||||
usbutils
|
|
||||||
pciutils
|
|
||||||
xdg_utils
|
|
||||||
moreutils
|
|
||||||
libsecret
|
|
||||||
git-crypt
|
|
||||||
];
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
spleen
|
spleen
|
||||||
terminus_font
|
terminus_font
|
||||||
|
|
@ -78,4 +31,100 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.settings = {
|
||||||
|
cores = 0;
|
||||||
|
auto-optimise-store = true;
|
||||||
|
allowed-users = [ "@wheel" ];
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
|
||||||
|
## configure nixpkgs instance
|
||||||
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
permittedInsecurePackages = [
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
## add overlays here
|
||||||
|
overlays = [
|
||||||
|
## to use overlays exported from other flakes:
|
||||||
|
# neovim-nightly-overlay.overlays.default
|
||||||
|
|
||||||
|
## or define it inline, for example:
|
||||||
|
# (final: prev: {
|
||||||
|
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||||
|
# patches = [ ./change-hello-to-hi.patch ];
|
||||||
|
# });
|
||||||
|
# })
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# This will add each flake input as a registry
|
||||||
|
# To make nix3 commands consistent with your flake
|
||||||
|
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
|
||||||
|
|
||||||
|
# This will additionally add your inputs to the system's legacy channels
|
||||||
|
# Making legacy nix commands consistent as well, awesome!
|
||||||
|
nix.nixPath = ["/etc/nix/path"];
|
||||||
|
environment.etc =
|
||||||
|
lib.mapAttrs'
|
||||||
|
(name: value: {
|
||||||
|
name = "nix/path/${name}";
|
||||||
|
value.source = value.flake;
|
||||||
|
})
|
||||||
|
config.nix.registry;
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
traceroute.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
fish.enable = true;
|
||||||
|
git.enable = true;
|
||||||
|
|
||||||
|
firefox.enable = true;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
|
## filsesystem
|
||||||
|
udiskie
|
||||||
|
ntfs3g
|
||||||
|
xfsprogs
|
||||||
|
|
||||||
|
## tools
|
||||||
|
fd
|
||||||
|
bc
|
||||||
|
gcc
|
||||||
|
tldr
|
||||||
|
wget
|
||||||
|
curl
|
||||||
|
file
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
|
gnupg
|
||||||
|
blueman
|
||||||
|
busybox
|
||||||
|
ripgrep
|
||||||
|
killall
|
||||||
|
usbutils
|
||||||
|
pciutils
|
||||||
|
xdg_utils
|
||||||
|
moreutils
|
||||||
|
libsecret
|
||||||
|
git-crypt
|
||||||
|
|
||||||
|
## nixos
|
||||||
|
# nix-tree
|
||||||
|
# nix-init
|
||||||
|
# nix-index
|
||||||
|
# nixpkgs-review
|
||||||
|
# nix-output-monitor
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue