diff --git a/system/adrift.nix b/system/adrift.nix index a8fc533..6781460 100644 --- a/system/adrift.nix +++ b/system/adrift.nix @@ -4,6 +4,7 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; @@ -23,6 +24,8 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking.hostName = "adrift"; # Define your hostname. services.xserver.videoDrivers = [ "i915" ]; + + services.power-profiles-daemon.enable = false; services.tlp.enable = true; users.users.plank = { diff --git a/system/configuration.nix b/system/configuration.nix index a1f56b9..fa7ff47 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -10,6 +10,11 @@ # ./wollomi.nix # ./adrift.nix ]; + + + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; environment.pathsToLink = [ "/share/zsh" ]; boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.configurationLimit = 2;