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, inputs,
config, pkgs, config,
pkgs,
... ...
}: { }: {
imports = [ imports = [
@ -33,10 +34,7 @@
services.libinput.enable = true; services.libinput.enable = true;
# Define a user account. # Define a user account.
users = { users.users = {
defaultUserShell = pkgs.zsh;
users = {
root.hashedPasswordFile = config.sops.secrets."root-pw".path; root.hashedPasswordFile = config.sops.secrets."root-pw".path;
min = { min = {
@ -45,7 +43,10 @@
hashedPasswordFile = config.sops.secrets."user-pw".path; 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 # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.