laptop necessaries

This commit is contained in:
atagen 2025-09-09 11:44:09 +10:00
parent 6b2b079a18
commit 3595871019
3 changed files with 17 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{scope, ...}:
{ scope, ... }:
scope "boot" {
kernelParams = [
"mitigations=off"
@ -15,7 +15,7 @@ scope "boot" {
"sd_mod"
"rtsx_pci_sdmmc"
];
initrd.kernelModules = ["dm-snapshot"];
initrd.kernelModules = [ "dm-snapshot" ];
kernelModules = [
"iwlwifi"
"kvm-intel"
@ -23,7 +23,7 @@ scope "boot" {
loader.systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 2;
configurationLimit = 5;
};
loader.efi.canTouchEfiVariables = true;
}

View file

@ -1,19 +1,17 @@
_: {
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/1C5C-8FF4";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c7f24f1b-e8b3-4fa2-8275-6bcd5d238334";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2C1B-BA44";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/26389642-cf51-4c58-98e9-1fe491a11bb9";
fsType = "ext4";
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/a732641d-1233-45a7-8614-53caed60f11b"; }
];
swapDevices =
[ { device = "/dev/disk/by-uuid/237f21bf-2dc4-4858-b1d0-64a8fc88bbef"; }
];
}

View file

@ -0,0 +1,4 @@
{ ... }:
{
system.stateVersion = "23.11";
}