nixos/home/default.nix

13 lines
418 B
Nix
Raw Normal View History

{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";
};
}