Flake for my NixOS devices

Fix errors with black-mesa

- Add defaults for firewall options
- HM: don't use global pkgs bc `nixpkgs.overlays` is used in HM modules

+9 -2
+8 -2
homeModules/firewall.nix
··· 1 1 {...}: {lib, ...}: { 2 2 options.cow.firewall = { 3 - tcp = lib.mkOption {type = lib.types.listOf lib.types.int;}; 4 - udp = lib.mkOption {type = lib.types.listOf lib.types.int;}; 3 + tcp = lib.mkOption { 4 + type = lib.types.listOf lib.types.int; 5 + default = []; 6 + }; 7 + udp = lib.mkOption { 8 + type = lib.types.listOf lib.types.int; 9 + default = []; 10 + }; 5 11 }; 6 12 }
+1
nixosModules/hm.nix
··· 10 10 config.home-manager = lib.mkIf config.cow.hm.enable { 11 11 sharedModules = builtins.attrValues outputs.homeModules; 12 12 useUserPackages = true; 13 + useGlobalPkgs = false; 13 14 }; 14 15 }