Add polkit support

This commit is contained in:
Julia Lange 2024-04-05 16:31:07 -07:00
parent f4ffca3fc8
commit e174c88c13
3 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,5 @@
{ config, pkgs, lib, ... }:
{
security.polkit.enable = true;
}

View file

@ -6,6 +6,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.timeout = 1; boot.loader.timeout = 1;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
security.polkit.enable = true;
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";

View file

@ -1,25 +1,19 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
nix.package = pkgs.nixUnstable; nix.package = pkgs.nixUnstable;
imports = imports =
[ [
# System essentials (boot, lang, hostname, ...) # System essentials (boot, lang, hostname, ...)
../../modules/system
../../modules/user
../../modules/themeing
../../modules/audio/pipewire ../../modules/audio/pipewire
../../modules/login/polkit
../../modules/system
../../modules/user
../../modules/shell/xonsh ../../modules/shell/xonsh
../../modules/network/browsers/librewolf ../../modules/network/browsers/librewolf
../../modules/network/syncthing ../../modules/network/syncthing
../../modules/themeing
../../modules/login/greetd ../../modules/login/greetd
../../modules/window_managers/hyprland ../../modules/window_managers/hyprland
]; ];