liku dead, mini alive

This commit is contained in:
Christoph Cullmann 2023-02-15 21:19:56 +01:00
parent bc1a776ebf
commit 365e05bda1
2 changed files with 7 additions and 13 deletions

View file

@ -15,6 +15,6 @@
];
# host name & id
networking.hostName = "liku";
networking.hostId = "ad1d2150";
networking.hostName = "mini";
networking.hostId = "db461356";
}

View file

@ -8,29 +8,23 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D95E-E4E3";
fsType = "vfat";
};
fileSystems."/boot-fallback" =
{ device = "/dev/disk/by-uuid/D95F-2A39";
{ device = "/dev/disk/by-uuid/4FD5-6BF5";
fsType = "vfat";
};
swapDevices = [ ];
# Enables DHCP on the right ethernet interface.
networking.interfaces.enp3s0.useDHCP = true;
networking.interfaces.eno1.useDHCP = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
}