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

View File

@ -1,6 +1,6 @@
{ {
inputs, inputs,
config, config, pkgs,
... ...
}: { }: {
imports = [ imports = [
@ -33,13 +33,17 @@
services.libinput.enable = true; services.libinput.enable = true;
# Define a user account. # Define a user account.
users.users = { users = {
root.hashedPasswordFile = config.sops.secrets."root-pw".path; defaultUserShell = pkgs.zsh;
min = { users = {
isNormalUser = true; root.hashedPasswordFile = config.sops.secrets."root-pw".path;
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;
};
}; };
}; };