framework

This commit is contained in:
Henri Dohmen 2025-10-10 19:29:55 +02:00
parent 42099d49b4
commit aca4caf02c
17 changed files with 279 additions and 33 deletions

View file

@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
networking.hostName = "c2";
@ -13,8 +13,24 @@
common-pc-laptop-ssd
];
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.resumeDevice = "/dev/disk/by-label/nixswap";
boot = {
loader = {
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot/efi";
grub = {
enable = true;
efiSupport = true;
device = "nodev";
};
};
resumeDevice = "/dev/disk/by-label/nixswap";
kernelPackages = pkgs.linuxPackages_6_12;
kernel.sysctl."kernel.sysrq" = 1;
initrd.systemd.network.wait-online.enable = false;
};
# Fix for touchpad physical click not working
boot.kernelParams = [ "psmouse.synaptics_intertouch=0" ];