fixing kernel for cnixpad

This commit is contained in:
cnst
2024-09-26 18:00:00 +02:00
parent 7c422fd27b
commit 9280796e59
3 changed files with 11 additions and 11 deletions

View File

@@ -25,14 +25,14 @@ in {
systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix"; systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix"; smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
nixcleanboot = "sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixcleanboot = "sudo nix run /home/$USER/.nix-config#cleanup-boot";
nixclean = "sudo nix-collect-garbage --delete-older-than 3d && nix-collect-garbage -d"; nixclean = "nh clean all --keep 3";
nixdev = "nix develop ~/.nix-config -c $SHELL"; nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/$USER/.nix-config/"; nixconfig = "cd /home/$USER/.nix-config/";
ll = "ls -l"; ll = "ls -l";
nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config";
nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config";
flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config";
flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config";
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../../"; "..." = "cd ../../";
"...." = "cd ../../../"; "...." = "cd ../../../";

View File

@@ -25,14 +25,14 @@ in {
systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix"; systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix"; smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
nixcleanboot = "sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixcleanboot = "sudo nix run /home/$USER/.nix-config#cleanup-boot";
nixclean = "sudo nix-collect-garbage --delete-older-than 3d && nix-collect-garbage -d"; nixclean = "nh clean all --keep 3";
nixdev = "nix develop ~/.nix-config -c $SHELL"; nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/$USER/.nix-config/"; nixconfig = "cd /home/$USER/.nix-config/";
ll = "ls -l"; ll = "ls -l";
nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config";
nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config";
flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config";
flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot"; flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config";
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../../"; "..." = "cd ../../";
"...." = "cd ../../../"; "...." = "cd ../../../";

View File

@@ -6,7 +6,7 @@
lanzaboote.enable = false; lanzaboote.enable = false;
}; };
kernel = { kernel = {
variant = "latest"; variant = "stable";
hardware = "amd"; hardware = "amd";
extraKernelParams = []; extraKernelParams = [];
extraBlacklistedModules = []; extraBlacklistedModules = [];