Merge branch 'main' of gitlab.com:ahoneybun/nix-configs

This commit is contained in:
Aaron Honeycutt 2023-11-14 17:25:50 -07:00
commit c72fd96476
3 changed files with 30 additions and 5 deletions

View file

@ -25,10 +25,7 @@
};
};
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix.settings.extra-platforms = [ "aarch64-linux" ];
nix.settings.auto-optimise-store = true;
#nix.settings.auto-optimise-store = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.gc = {
@ -68,6 +65,33 @@
neofetch
];
};
programs.bash = {
shellAliases = {
generations = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
nix-upgrade = "sudo nixos-rebuild switch --upgrade";
};
};
programs.git = {
lfs.enable = true;
config = {
color = {
ui = "auto";
};
color.status = {
added = "green bold";
changed = "yellow bold";
untracked = "red bold";
};
push = {
autoSetupRemote = "true";
};
init = {
defaultBranch = "main";
};
};
};
# Allow Unfree
nixpkgs.config.allowUnfree = true;

View file

@ -11,6 +11,7 @@
desktop-file-utils
egl-wayland
glib
gtk3
gtk4
lld
llvm

View file

@ -26,7 +26,7 @@
};
};
nix.settings.auto-optimise-store = true;
#nix.settings.auto-optimise-store = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.gc = {