2024-11-22 14:14:54 -07:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
# Make users fully declarative
|
|
|
|
users.mutableUsers = false;
|
|
|
|
|
|
|
|
# Set default shell to Zsh
|
|
|
|
users.defaultUserShell = pkgs.zsh;
|
|
|
|
users.users = {
|
|
|
|
# Main ty user
|
|
|
|
ty = {
|
|
|
|
isNormalUser = true;
|
|
|
|
useDefaultShell = true;
|
|
|
|
description = "Tyler Beckman";
|
|
|
|
extraGroups = [
|
|
|
|
"networkmanager" # Can manage networking
|
|
|
|
"wheel" # Can use sudo
|
|
|
|
];
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$XCQtsX/NObNFzrYu7JcJe/$HHgvh4Re6UjKvxMz.XuHw7dwNecnMP8je.4AHUjHnsB";
|
|
|
|
};
|
|
|
|
};
|
2024-11-24 16:53:57 -07:00
|
|
|
|
|
|
|
# Enable polkit user authentication
|
|
|
|
security.polkit.enable = true;
|
2024-11-22 14:14:54 -07:00
|
|
|
}
|