From 63fd46b9f82e20473bac9258c0996631aea7f6ee Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 16 Sep 2024 15:25:30 -0400 Subject: [PATCH] update some desktopy things --- nix/etcnixos/system-nixos.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nix/etcnixos/system-nixos.nix b/nix/etcnixos/system-nixos.nix index 7ca31d1..8d1c903 100644 --- a/nix/etcnixos/system-nixos.nix +++ b/nix/etcnixos/system-nixos.nix @@ -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" }; };