13 lines
418 B
Nix
13 lines
418 B
Nix
{pkgs, ...}: let
|
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
in {
|
|
imports = [(import "${home-manager}/nixos")];
|
|
users.users.root.shell = pkgs.zsh;
|
|
home-manager.users.root = {
|
|
imports = [./env/readline.nix ./env/starship.nix ./env/zsh.nix];
|
|
home.username = "root";
|
|
home.homeDirectory = "/root";
|
|
home.stateVersion = "22.11";
|
|
};
|
|
}
|