SSH updates
This commit is contained in:
parent
74545072dd
commit
57090ccde1
12 changed files with 96 additions and 59 deletions
16
users/josh/nix_modules/_user.nix
Normal file
16
users/josh/nix_modules/_user.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, settings, ... }:
|
||||
{
|
||||
users.users.${settings.user.username} = {
|
||||
initialPassword = "password1";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# TODO how to do this from home manager file instead
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue