tweak: trying out let-bound user declarations
This commit is contained in:
parent
9441ec35e4
commit
683c84a71e
1 changed files with 17 additions and 13 deletions
|
|
@ -36,23 +36,27 @@
|
|||
};
|
||||
|
||||
# nixos user declaration
|
||||
users.users.${username} = {
|
||||
users.users.${username} =
|
||||
|
||||
# remember to change this
|
||||
initialPassword = "password";
|
||||
{ config, ... }:
|
||||
|
||||
# permissions management
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
{
|
||||
|
||||
# dont hardcode this ?
|
||||
# catgirl shell
|
||||
shell = pkgs.fish;
|
||||
# remember to change this
|
||||
initialPassword = "password";
|
||||
|
||||
};
|
||||
# permissions management
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
|
||||
# dont hardcode this ?
|
||||
# catgirl shell
|
||||
shell = pkgs.fish;
|
||||
|
||||
};
|
||||
|
||||
# needed or nix yells at me
|
||||
programs.fish.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue