diff --git a/nixops/nixops.nix b/nixops/nixops.nix index 306a40a..7338b8c 100644 --- a/nixops/nixops.nix +++ b/nixops/nixops.nix @@ -4,5 +4,6 @@ rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; }; rpi-4 = import ./rpi.nix { host = "rpi-4"; rpi4 = true; }; juno = import ./desktop.nix { host = "juno"; }; + zeus = import ./desktop.nix { host = "zeus"; }; cnc = import ./light.nix { host = "cnc"; }; } diff --git a/nixops/zeus-hardware-configuration.nix b/nixops/zeus-hardware-configuration.nix new file mode 100644 index 0000000..bcbec3d --- /dev/null +++ b/nixops/zeus-hardware-configuration.nix @@ -0,0 +1,33 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/890b20a2-08d5-4635-b3a7-003ad4a11a19"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/91B4-E546"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 16; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; +}