nixos-server-conf/setup/default.nix

24 lines
657 B
Nix
Raw Normal View History

2025-05-15 15:26:11 +00:00
{ inputs }:
inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
inputs.disko.nixosModules.disko
./disk_conf.nix
2025-05-19 10:14:40 +00:00
# inputs.facter.nixosModules.facter
# { config.facter.reportPath = ./facter.json; }
2025-05-15 15:26:11 +00:00
2025-05-19 10:14:40 +00:00
./setup/mini_conf.nix
2025-05-15 15:26:11 +00:00
# zfs stuff
{
# use `head -c4 /dev/urandom | od -A none -t x4` or see nixos options docs for more info
# https://search.nixos.org/options?channel=24.11&show=networking.hostId&from=0&size=50&sort=relevance&type=packages&query=hostid
networking.hostId = "0a7337de";
# dunno, maybe not needed but sounds nice
boot.loader.grub.zfsSupport = true;
}
];
}