nixos/home/default.nix
Evie Litherland-Smith 52ff1c36a3 Delete root user config per machine as it's common to all
Move root user home-config into home/default.nix so that it's used by all
Removed personal/work specific things from root user
2023-05-31 10:54:57 +01:00

12 lines
341 B
Nix

{...}: let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in {
imports = [(import "${home-manager}/nixos")];
home-manager.users.root = {
imports = [./env ./ssh ./git];
home.username = "root";
home.homeDirectory = "/root";
home.stateVersion = "22.11";
};
}