This commit is contained in:
Tyler Beckman 2025-01-03 21:38:24 -07:00
parent cbf0ba3586
commit 6b36ea4418
Signed by: Ty
GPG key ID: 2813440C772555A4
3 changed files with 16 additions and 5 deletions

View file

@ -15,8 +15,15 @@
"networkmanager" # Can manage networking "networkmanager" # Can manage networking
"wheel" # Can use sudo "wheel" # Can use sudo
]; ];
hashedPassword = secrets.passwords.users.ty; hashedPassword = secrets.passwords.users.ty;
}; };
}; };
}
# Enable polkit user authentication
security.polkit.enable = true;
security.pam.services.systemd-run0 = {
setEnvironment = true;
pamMount = false;
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
}

View file

@ -15,11 +15,15 @@
"networkmanager" # Can manage networking "networkmanager" # Can manage networking
"wheel" # Can use sudo "wheel" # Can use sudo
]; ];
hashedPassword = secrets.passwords.users.ty; hashedPassword = secrets.passwords.users.ty;
}; };
}; };
# Enable polkit user authentication # Enable polkit user authentication
security.polkit.enable = true; security.polkit.enable = true;
} security.pam.services.systemd-run0 = {
setEnvironment = true;
pamMount = false;
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
}

View file

@ -25,4 +25,4 @@
# The hashed /etc/shadow password to use for the main user ty # The hashed /etc/shadow password to use for the main user ty
users.ty = null; users.ty = null;
}; };
} }