Add root user config for work machines

This commit is contained in:
Evie Litherland-Smith 2023-05-17 08:41:16 +01:00
parent 654676a809
commit f0a34f5a65
4 changed files with 24 additions and 0 deletions

View file

@ -18,6 +18,7 @@
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.fish;
};
home-manager.users.root = import ./home/H0615/root.nix;
home-manager.users.elitherl = import ./home/H0615/elitherl.nix;
system.autoUpgrade = {

View file

@ -18,6 +18,7 @@
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.fish;
};
home-manager.users.root = import ./home/J0162/root.nix;
home-manager.users.elitherl = import ./home/J0162/elitherl.nix;
system.autoUpgrade = {

11
home/H0615/root.nix Normal file
View 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
View file

@ -0,0 +1,11 @@
{ ... }: {
imports = [
../env
../tui
../git/work.nix
../ssh/work.nix
];
home.username = "root";
home.homeDirectory = "/root";
home.stateVersion = "22.11";
}