mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 06:39:09 -04:00
33 lines
538 B
Nix
33 lines
538 B
Nix
{
|
|
imports = [
|
|
../../users/richie
|
|
../../common/global
|
|
../../common/optional/systemd-boot.nix
|
|
../../common/optional/zerotier.nix
|
|
./hardware.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "router";
|
|
hostId = "c58bbb8b";
|
|
firewall.enable = true;
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services = {
|
|
|
|
openssh.ports = [ 972 ];
|
|
|
|
snapshot_manager.enable = true;
|
|
|
|
zfs = {
|
|
trim.enable = true;
|
|
autoScrub.enable = true;
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|