h
This commit is contained in:
@@ -27,13 +27,13 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/d9fee0ac-b35f-4d21-9461-3497af72d8bd";
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "ext4";
|
||||
};
|
||||
boot.resumeDevice = "/dev/disk/by-uuid/d9fee0ac-b35f-4d21-9461-3497af72d8bd";
|
||||
boot.resumeDevice = "/dev/disk/by-label/NIXSWAP";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/299C-03A0";
|
||||
device = "/dev/disk/by-label/NIXBOOT";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0022"
|
||||
@@ -43,8 +43,7 @@
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/.swapfile";
|
||||
size = 16 * 1024;
|
||||
device = "/dev/disk/by-label/NIXSWAP";
|
||||
}
|
||||
];
|
||||
|
||||
@@ -58,7 +57,6 @@
|
||||
# Suspend first
|
||||
boot.kernelParams = [
|
||||
"mem_sleep_default=deep"
|
||||
"resume_offset=62050304"
|
||||
];
|
||||
|
||||
# Define time delay for hibernation
|
||||
@@ -68,8 +66,8 @@
|
||||
|
||||
#Facial recognition
|
||||
# security.pam.howdy.enable = true;
|
||||
services.howdy.enable = true;
|
||||
services.linux-enable-ir-emitter.enable = true; # lmao
|
||||
# services.howdy.enable = true;
|
||||
# services.linux-enable-ir-emitter.enable = true; # lmao
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
Reference in New Issue
Block a user