nix: new system
Anirudh Oppiliappan x@icyphox.sh
Sun, 03 Apr 2022 17:57:43 +0530
2 files changed,
6 insertions(+),
8 deletions(-)
M
nix/hosts/lapis/configuration.nix
→
nix/hosts/lapis/configuration.nix
@@ -121,7 +121,7 @@ extraGroups = [ "wheel" "docker" "audio" "video" ];
}; nix = { - package = pkgs.nixUnstable; + package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ca-derivations warn-dirty = false
M
nix/hosts/lapis/hardware-configuration.nix
→
nix/hosts/lapis/hardware-configuration.nix
@@ -5,8 +5,7 @@ { config, lib, pkgs, modulesPath, ... }:
{ imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") + [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "alcor" ];@@ -15,19 +14,18 @@ boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; fileSystems."/" = - { - device = "/dev/disk/by-uuid/9b7ae4a9-de63-4972-95d1-d7e5cd63b558"; + { device = "/dev/disk/by-uuid/11f7daf9-77b9-48ec-990a-37f4d4889337"; fsType = "ext4"; }; fileSystems."/boot" = - { - device = "/dev/disk/by-uuid/5780-2835"; + { device = "/dev/disk/by-uuid/DD92-FE3F"; fsType = "vfat"; }; swapDevices = - [{ device = "/dev/disk/by-uuid/1511c1d3-764f-471e-9468-db26bf752020"; }]; + [ { device = "/dev/disk/by-uuid/74e12c57-0f34-4faa-983f-212a8172b2ae"; } + ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;