mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 06:10:13 +00:00
collapse gui and identity arguments
This commit is contained in:
@ -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";
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user