mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 22:30:13 +00:00
more moving things around
This commit is contained in:
@ -16,6 +16,12 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
nmasur.presets.services = {
|
||||
# Allow tunneling into the machine
|
||||
cloudflared.enable = lib.mkDefault true;
|
||||
openssh.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
# Allows us to declaritively set password
|
||||
users.mutableUsers = lib.mkDefault false;
|
||||
|
||||
@ -25,9 +31,6 @@ in
|
||||
# Create a home directory for human user
|
||||
isNormalUser = lib.mkDefault true;
|
||||
|
||||
# Automatically create a password to start
|
||||
hashedPassword = lib.mkDefault config.passwordHash;
|
||||
|
||||
extraGroups = lib.mkDefault [
|
||||
"wheel" # Sudo privileges
|
||||
];
|
||||
|
Reference in New Issue
Block a user