Restructure

- Restructure
- Add sops+age
This commit is contained in:
aloslider
2026-04-02 21:21:06 +03:00
parent 03548606e4
commit 6a3ff12527
39 changed files with 590 additions and 194 deletions
+29
View File
@@ -0,0 +1,29 @@
{
config,
lib,
...
}:
{
imports = lib.flatten [
./boot.nix
./network.nix
./hardware-configuration.nix
(map lib.custom.relativeToRoot (
[
"hosts/common/core"
"hosts/common/users/benq.nix"
"home/benq/homelab.nix"
]
++ (map (f: "hosts/common/optional/${f}") [
"bbr.nix"
"docker.nix"
"endlessh.nix"
"fail2ban.nix"
"openssh.nix"
])
))
];
disko.cfg.mainDevice = "/dev/vda";
system.stateVersion = "26.05";
}