33 lines
627 B
Nix
33 lines
627 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
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"
|
|
"endlessh.nix"
|
|
"fail2ban.nix"
|
|
"fonts.nix"
|
|
"openssh.nix"
|
|
"selfhosted"
|
|
])
|
|
))
|
|
];
|
|
|
|
disko.cfg.mainDevice = "/dev/disk/by-id/ata-AMD_R5M120G8_07092225C0040";
|
|
environment.shells = [ pkgs.zsh ];
|
|
system.stateVersion = "26.05";
|
|
}
|