2023-06-03 07:46:37 +01:00
|
|
|
{pkgs, ...}: let
|
2023-05-31 10:54:57 +01:00
|
|
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
|
|
in {
|
|
|
|
imports = [(import "${home-manager}/nixos")];
|
2023-06-03 07:46:37 +01:00
|
|
|
users.users.root.shell = pkgs.zsh;
|
2023-05-31 10:54:57 +01:00
|
|
|
home-manager.users.root = {
|
2023-06-03 07:46:37 +01:00
|
|
|
imports = [./env/readline.nix ./env/starship.nix ./env/zsh.nix];
|
2023-05-31 10:54:57 +01:00
|
|
|
home.username = "root";
|
|
|
|
home.homeDirectory = "/root";
|
|
|
|
home.stateVersion = "22.11";
|
|
|
|
};
|
|
|
|
}
|