38 lines
865 B
Nix
38 lines
865 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/boot.nix
|
|
../../modules/zram.nix
|
|
../../modules/nix.nix
|
|
../../modules/openssh.nix
|
|
../../modules/gunalx.nix
|
|
../../secrets/sops.nix
|
|
../../secrets/sopsconf.nix
|
|
../../modules/pam.nix
|
|
../../modules/tailscale.nix
|
|
../../modules/basePackages.nix
|
|
../../modules/zfs.nix
|
|
../../modules/vm.nix
|
|
];
|
|
|
|
networking.hostName = "elrond";
|
|
# Required by ZFS. Generate with: head -c 4 /dev/urandom | od -An -tx1 | tr -d ' \n'
|
|
networking.hostId = "8ead4526";
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Import these once the pool exists. Encrypted pools also need:
|
|
# boot.zfs.requestEncryptionCredentials = true;
|
|
# boot.zfs.extraPools = [ "poolname" ];
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|