Add systemd service for polkit_gnome and ensure polkit is enabled

This commit is contained in:
Tyler Kelley 2024-01-19 00:13:49 -06:00
parent 0f214eac96
commit 5aaa9bde84
3 changed files with 3 additions and 6 deletions

View File

@ -79,7 +79,6 @@ env = MOZ_ENABLE_WAYLAND, 1
#env = WLR_NO_HARDWARE_CURSORS,1
#env = WLR_RENDERER_ALLOW_SOFTWARE,1
exec-once = $POLKIT_BIN
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = hyprctl setcursor Bibata-Modern-Ice 24

View File

@ -2,13 +2,12 @@
hostname, gitUsername, theLocale,
theTimezone, wallpaperDir, wallpaperGit, ... }:
let
userPrograms = builtins.readFile ./user-programs;
in {
{
imports =
[
./hardware.nix
./config/system/boot.nix
./config/system/polkit.nix
./config/system/intel-opengl.nix
./config/system/amd-opengl.nix
./config/system/autorun.nix
@ -77,7 +76,6 @@ in {
};
environment.variables = {
POLKIT_BIN = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
};
# List services that you want to enable:

View File

@ -20,7 +20,7 @@
gitEmail = "tylerzanekelley@gmail.com";
theLocale = "en_US.UTF-8";
theTimezone = "America/Chicago";
theme = "catppuccin-mocha";
theme = "gigavolt";
browser = "firefox";
wallpaperGit = "https://gitlab.com/Zaney/my-wallpapers.git";
wallpaperDir = "/home/${username}/Pictures/Wallpapers";