diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 20:15:56 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 20:15:56 +0530 |
| commit | 007a160616ff033f3cafee058a8afc28629664c9 (patch) | |
| tree | 44c706bef4e709d576b03da1bb4547df10dfef63 /modules | |
| parent | f7be27cccc42f3491f978171a557d3c8db8fe82a (diff) | |
update
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/compromyse.nix | 2 | ||||
| -rw-r--r-- | modules/nvidia.nix | 2 | ||||
| -rw-r--r-- | modules/plasma.nix | 7 | ||||
| -rw-r--r-- | modules/wm.nix | 16 |
4 files changed, 18 insertions, 9 deletions
diff --git a/modules/compromyse.nix b/modules/compromyse.nix index 03adf3e..f822b46 100644 --- a/modules/compromyse.nix +++ b/modules/compromyse.nix @@ -5,6 +5,6 @@ initialPassword = "changeme"; isNormalUser = true; # openssh.authorizedKeys.keys = []; - extraGroups = [ "wheel" "storage" "input" "plugdev" "libvirtd" "lxd" "docker" ]; + extraGroups = [ "wheel" "video" "storage" "input" "plugdev" "libvirtd" "docker" ]; }; } diff --git a/modules/nvidia.nix b/modules/nvidia.nix index c72317f..1d59539 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -23,5 +23,5 @@ }; }; - environment.systemPackages = [ pkgs.cudatoolkit ]; + # environment.systemPackages = [ pkgs.cudatoolkit ]; } diff --git a/modules/plasma.nix b/modules/plasma.nix deleted file mode 100644 index 35849b2..0000000 --- a/modules/plasma.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: - -{ - environment.sessionVariables.NIXOS_OZONE_WL = "1"; - services.xserver.enable = true; - services.xserver.desktopManager.plasma5.enable = true; -} diff --git a/modules/wm.nix b/modules/wm.nix index 03cf3ef..327ac41 100644 --- a/modules/wm.nix +++ b/modules/wm.nix @@ -13,4 +13,20 @@ inotify-tools ]; + + systemd = { + user.services.polkit-gnome-authentication-agent-1 = { + description = "polkit-gnome-authentication-agent-1"; + wantedBy = [ "graphical-session.target" ]; + wants = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + Type = "simple"; + ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; + Restart = "on-failure"; + RestartSec = 1; + TimeoutStopSec = 10; + }; + }; + }; } |
