simplify enable opts, and fix security.nix

This commit is contained in:
Reid 2024-02-28 19:02:34 -08:00
parent 06b42a1aa6
commit 5d5cd7979c
10 changed files with 34 additions and 40 deletions

View file

@ -6,7 +6,9 @@ let
inherit (lib.my) mapModulesRec';
in {
imports =
[ inputs.home-manager.nixosModules.home-manager ]
[
inputs.home-manager.nixosModules.home-manager
]
++ (mapModulesRec' (toString ./modules) import);
nix = {
@ -27,11 +29,10 @@ in {
environment.systemPackages = with pkgs; [
unrar unzip
curl wget
# nix does not work without git.
# do not remove this.
# nixos-rebuild w/ flakes does not work without git
# do not remove this
# nix is awesome
git
neofetch
];
time.timeZone = mkDefault "America/Los_Angeles";