defaults
This commit is contained in:
1011
machines/laptop/flake.lock
generated
Normal file
1011
machines/laptop/flake.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,9 +6,9 @@
|
|||||||
sops.secrets."nathan/pass".neededForUsers = true;
|
sops.secrets."nathan/pass".neededForUsers = true;
|
||||||
|
|
||||||
users.users.nathan = {
|
users.users.nathan = {
|
||||||
shell = pkgs.zsh;
|
shell = lib.mkDefault pkgs.zsh;
|
||||||
name = "nathan";
|
name = lib.mkDefault "nathan";
|
||||||
isNormalUser = true;
|
isNormalUser = lib.mkDefault true;
|
||||||
#hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
|
#hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
|
||||||
extraGroups = [ "networkmanager" ];
|
extraGroups = [ "networkmanager" ];
|
||||||
openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts));
|
openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts));
|
||||||
|
|||||||
Reference in New Issue
Block a user