make systemProfiles an attrset

This commit is contained in:
xunuwu 2025-06-06 12:01:12 +02:00
parent 8e45ad0537
commit f44f1a3a46
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
4 changed files with 77 additions and 70 deletions

View file

@ -14,16 +14,16 @@
./profiles/backups.nix
./profiles/caddy.nix
]
++ (map (x: systemProfiles + x) [
/core/security.nix
/core/tools.nix
/core/ssh.nix
/core/deploy.nix
++ (with systemProfiles; [
core.security
core.tools
core.ssh
core.deploy
/nix/default.nix
nix.nix
/network/tailscale.nix
/network/networkd.nix
network.tailscale
network.networkd
]);
boot.loader.grub = {