diff options
| author | stefan <stefan@s00.xyz> | 2025-03-11 00:55:02 -0400 |
|---|---|---|
| committer | stefan <stefan@s00.xyz> | 2025-03-11 00:55:21 -0400 |
| commit | d0d566b658f4e392a1493a677837fd34af634372 (patch) | |
| tree | e327efbc39e7fad623acdbd9f08032a60487024c /form | |
| parent | 2fa6ca8fe19b1ebadcdfa54ea0f073df72389398 (diff) | |
| download | home-d0d566b658f4e392a1493a677837fd34af634372.tar.gz | |
form
Diffstat (limited to 'form')
| -rw-r--r-- | form/configuration.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/form/configuration.nix b/form/configuration.nix index 40eb41c..f280be0 100644 --- a/form/configuration.nix +++ b/form/configuration.nix @@ -25,7 +25,6 @@ services.xserver.xkb.layout = "us"; services.xserver.xkb.variant = "colemak_dh"; - security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; @@ -54,7 +53,19 @@ #programs.firefox.enable = true; programs.foot.enable = true; programs.sway.enable = true; - security.polkit.enable = true; + + security = { + polkit.enable = true; + rtkit.enable = true; + doas = { + enable = true; + extraRules = [{ + users = ["stefan"]; + # keepEnv = true; + persist = true; + }]; + }; + }; services.greetd = { enable = true; @@ -93,6 +104,7 @@ # accidentally delete configuration.nix. # system.copySystemConfiguration = true; + hardware.graphics.enable = true; services.xserver.videoDrivers = ["nvidia"]; hardware.nvidia = { |