This commit is contained in:
minish 2024-12-31 22:48:36 -05:00
parent cdef89b1e6
commit 983fdf31ea
Signed by: min
SSH Key Fingerprint: SHA256:NFjjdbkd6u7aoMlcrDCVvz6o2UBtlAuPm8IQ2vhZ3Fg
1 changed files with 12 additions and 11 deletions

View File

@ -1,6 +1,7 @@
{
inputs,
config, pkgs,
config,
pkgs,
...
}: {
imports = [
@ -33,20 +34,20 @@
services.libinput.enable = true;
# Define a user account.
users = {
defaultUserShell = pkgs.zsh;
users.users = {
root.hashedPasswordFile = config.sops.secrets."root-pw".path;
users = {
root.hashedPasswordFile = config.sops.secrets."root-pw".path;
min = {
isNormalUser = true;
extraGroups = ["wheel"]; # Enable sudo for the user.
hashedPasswordFile = config.sops.secrets."user-pw".path;
};
min = {
isNormalUser = true;
extraGroups = ["wheel"]; # Enable sudo for the user.
hashedPasswordFile = config.sops.secrets."user-pw".path;
};
};
# Use zsh
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
programs.gnupg.agent = {