update some desktopy things
This commit is contained in:
parent
2e1aac9c19
commit
63fd46b9f8
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
#for making ALVR support better :)
|
||||||
{
|
{
|
||||||
name = "amdgpu-ignore-ctx-privileges";
|
name = "amdgpu-ignore-ctx-privileges";
|
||||||
patch = pkgs.fetchpatch {
|
patch = pkgs.fetchpatch {
|
||||||
@ -25,7 +26,10 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
kernelParams = [ "amdgpu.ppfeaturemask=0xFFF7FFFF" ];
|
kernelParams = [
|
||||||
|
# allow overclocking (I actually underclock but lol)
|
||||||
|
"amdgpu.ppfeaturemask=0xFFF7FFFF"
|
||||||
|
];
|
||||||
|
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
# kernel module for case fan control
|
# kernel module for case fan control
|
||||||
@ -48,7 +52,7 @@
|
|||||||
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
|
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
|
||||||
UseDns = true;
|
UseDns = true;
|
||||||
X11Forwarding = false;
|
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"
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user