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
|
# nixos user declaration
|
||||||
users.users.${username} = {
|
users.users.${username} =
|
||||||
|
|
||||||
# remember to change this
|
{ config, ... }:
|
||||||
initialPassword = "password";
|
|
||||||
|
|
||||||
# permissions management
|
{
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
|
||||||
"wheel"
|
|
||||||
"networkmanager"
|
|
||||||
];
|
|
||||||
|
|
||||||
# dont hardcode this ?
|
# remember to change this
|
||||||
# catgirl shell
|
initialPassword = "password";
|
||||||
shell = pkgs.fish;
|
|
||||||
|
|
||||||
};
|
# permissions management
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"networkmanager"
|
||||||
|
];
|
||||||
|
|
||||||
|
# dont hardcode this ?
|
||||||
|
# catgirl shell
|
||||||
|
shell = pkgs.fish;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
# needed or nix yells at me
|
# needed or nix yells at me
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue