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