Das Netzwerk in der Riesaer Str. 32 https://zentralwerk.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
network/nix/nixos-module/server/server2.nix

47 lines
1.1 KiB

{ ... }:
{
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
nixpkgs.config.allowBroken = true;
boot.zfs.enableUnstable = true;
boot.supportedFilesystems = [ "zfs" ];
boot.initrd.supportedFilesystems = [ "zfs" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "server2/root";
fsType = "zfs";
};
fileSystems."/var" =
{ device = "server2/root/var";
fsType = "zfs";
};
fileSystems."/nix" =
{ device = "server2/root/nix";
fsType = "zfs";
};
fileSystems."/nix/store" =
{ device = "server2/root/nix/store";
fsType = "zfs";
};
fileSystems."/nix/var" =
{ device = "server2/root/nix/var";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/29BF-1E56";
fsType = "vfat";
};
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
networking.hostName = "server2"; # Define your hostname.
networking.hostId = "52525252";
}