switching the boot bits to desktop.nix

This commit is contained in:
Chris Cochrun 2023-01-06 15:00:24 -06:00
parent 05c0759db3
commit 1a6ae2b8e2
2 changed files with 11 additions and 11 deletions

View file

@ -14,6 +14,17 @@ with lib;
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
# Use the systemd-boot EFI boot loader.
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = [ "mem_sleep_default=deep" "nvme.noacpi=1"];
# initrd.kernelModules = [ "amdgpu" ];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
networking.networkmanager.enable = true;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.