collapse gui and identity arguments

This commit is contained in:
Noah Masur
2022-04-30 12:07:58 -04:00
parent 8e08b70d86
commit 9d7307d16d
21 changed files with 89 additions and 84 deletions

View File

@ -1,6 +1,6 @@
# Replace sudo with doas
{ user, ... }: {
{ identity, ... }: {
security = {
@ -24,5 +24,7 @@
};
};
home-manager.users.${user}.programs.fish.shellAliases = { sudo = "doas"; };
home-manager.users.${identity.user}.programs.fish.shellAliases = {
sudo = "doas";
};
}

View File

@ -1,7 +1,7 @@
{ user, ... }: {
{ identity, ... }: {
# Define a user account. Don't forget to set a password with passwd.
users.users.${user} = {
users.users.${identity.user} = {
# Create a home directory for human user
isNormalUser = true;