feat: overlays + pkgs

This commit is contained in:
Kat Inskip 2023-01-27 15:20:34 -08:00
parent bed84b16b0
commit 5da80d3c52
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
17 changed files with 210 additions and 91 deletions

6
nixos/common/grub.nix Normal file
View file

@ -0,0 +1,6 @@
_: {
boot.loader = {
grub.configurationLimit = 8;
systemd-boot.configurationLimit = 8;
};
}

View file

@ -0,0 +1,3 @@
_: {
programs.command-not-found.enable = false;
}

14
nixos/common/nix.nix Normal file
View file

@ -0,0 +1,14 @@
{lib, ...}: let
inherit (lib.modules) mkDefault;
in {
boot.loader = {
grub.configurationLimit = 8;
systemd-boot.configurationLimit = 8;
};
nix.gc = {
automatic = mkDefault true;
dates = mkDefault "weekly";
options = mkDefault "--delete-older-than 7d";
};
}