Add root user config for work machines
This commit is contained in:
parent
654676a809
commit
f0a34f5a65
|
@ -18,6 +18,7 @@
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
home-manager.users.root = import ./home/H0615/root.nix;
|
||||||
home-manager.users.elitherl = import ./home/H0615/elitherl.nix;
|
home-manager.users.elitherl = import ./home/H0615/elitherl.nix;
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
home-manager.users.root = import ./home/J0162/root.nix;
|
||||||
home-manager.users.elitherl = import ./home/J0162/elitherl.nix;
|
home-manager.users.elitherl = import ./home/J0162/elitherl.nix;
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
|
11
home/H0615/root.nix
Normal file
11
home/H0615/root.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
../env
|
||||||
|
../tui
|
||||||
|
../git/work.nix
|
||||||
|
../ssh/work.nix
|
||||||
|
];
|
||||||
|
home.username = "root";
|
||||||
|
home.homeDirectory = "/root";
|
||||||
|
home.stateVersion = "22.11";
|
||||||
|
}
|
11
home/J0162/root.nix
Normal file
11
home/J0162/root.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
../env
|
||||||
|
../tui
|
||||||
|
../git/work.nix
|
||||||
|
../ssh/work.nix
|
||||||
|
];
|
||||||
|
home.username = "root";
|
||||||
|
home.homeDirectory = "/root";
|
||||||
|
home.stateVersion = "22.11";
|
||||||
|
}
|
Loading…
Reference in a new issue