nixos-server-conf/setup/default.nix

24 lines
647 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-16 06:34:32 +00:00
inputs.facter.nixosModules.facter
2025-05-15 15:26:11 +00:00
{ config.facter.reportPath = ./facter.json; }
./mini_conf.nix
# 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;
}
];
}