update some desktopy things

This commit is contained in:
Simon Gardling 2024-09-16 15:25:30 -04:00
parent 2e1aac9c19
commit 63fd46b9f8
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -16,6 +16,7 @@
boot = {
kernelPatches = [
#for making ALVR support better :)
{
name = "amdgpu-ignore-ctx-privileges";
patch = pkgs.fetchpatch {
@ -25,7 +26,10 @@
};
}
];
kernelParams = [ "amdgpu.ppfeaturemask=0xFFF7FFFF" ];
kernelParams = [
# allow overclocking (I actually underclock but lol)
"amdgpu.ppfeaturemask=0xFFF7FFFF"
];
kernelModules = [
# kernel module for case fan control
@ -48,7 +52,7 @@
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "prohibit-password"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
PermitRootLogin = "no"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
};
};