Variablize username more
This commit is contained in:
parent
33236aedc6
commit
ea3a6db5af
39 changed files with 93 additions and 102 deletions
|
@ -1,7 +1,7 @@
|
|||
{ home-manager, ... }:
|
||||
{
|
||||
imports = [
|
||||
./jimbo
|
||||
./main
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
users.users.jimbo = {
|
||||
description = "Jimbo";
|
||||
hashedPassword = config.secrets.jimboAccPass;
|
||||
users.users."${config.sysusers.main}" = {
|
||||
hashedPassword = config.secrets.mainAccPass;
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
(builtins.readFile ../../../../../../hosts/tower/id_ed25519.pub)
|
||||
|
@ -34,5 +33,5 @@
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
home-manager.users.jimbo = import ../../../../../home;
|
||||
home-manager.users."${config.sysusers.main}" = import ../../../../../home;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue