Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | 69a6d92 | 2022-08-26 08:01:35 +0100 | [diff] [blame] | 2 | home = { |
| 3 | home.packages = [ |
| 4 | pkgs.polkit_gnome |
| 5 | ]; |
| 6 | |
| 7 | wayland.windowManager.sway.config.startup = [ |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 8 | { command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; } |
Skyler Grey | 69a6d92 | 2022-08-26 08:01:35 +0100 | [diff] [blame] | 9 | ]; |
| 10 | }; |
| 11 | config = { |
| 12 | security.polkit.enable = true; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 13 | environment.systemPackages = [ pkgs.polkit ]; |
Skyler Grey | 69a6d92 | 2022-08-26 08:01:35 +0100 | [diff] [blame] | 14 | }; |
| 15 | } |