This commit is contained in:
2025-02-05 23:46:22 -05:00
parent ed160b8280
commit af09e1e1f9
4 changed files with 35 additions and 31 deletions

View File

@@ -86,8 +86,8 @@
enable = true;
capSysNice = true;
};
programs.steam = {
enable = true;
gamescopeSession.enable = true;
};
@@ -106,8 +106,8 @@
TTYVTDisallocate = true;
};
#weird hack to get swaylock working? idk, if you don't put this here, password entry doesnt work
#if I move to another lock screen program, i will have to replace `swaylock`
# weird hack to get swaylock working? idk, if you don't put this here, password entry doesnt work
# if I move to another lock screen program, i will have to replace `swaylock`
security.pam.services.swaylock = { };
system.activationScripts = {
@@ -116,17 +116,11 @@
#!/bin/sh
rm -fr ${config.boot.lanzaboote.pkiBundle} || true
mkdir -p ${config.boot.lanzaboote.pkiBundle}
${pkgs.gnutar}/bin/tar xf /etc/nixos/secrets/secureboot.tar -C ${config.boot.lanzaboote.pkiBundle}
${pkgs.gnutar}/bin/tar xf ${./secrets/secureboot.tar} -C ${config.boot.lanzaboote.pkiBundle}
'';
};
# https://github.com/NixOS/nixos-hardware/pull/1253
# hardware.framework.laptop13.audioEnhancement = {
# enable = true;
# };i
# disable framework kernel module
# https://github.com/NixOS/nixos-hardware/issues/1330
hardware.framework.enableKmod = false;
}