diff --git a/H0615.nix b/H0615.nix index cc6add8b..4b07dfa2 100644 --- a/H0615.nix +++ b/H0615.nix @@ -25,9 +25,6 @@ home.username = "elitherl"; home.homeDirectory = "/home/elitherl"; home.stateVersion = "22.11"; - - programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix"; - programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch"; }; system.autoUpgrade = { diff --git a/Vanguard.nix b/Vanguard.nix index 64d48e05..04ee0bea 100644 --- a/Vanguard.nix +++ b/Vanguard.nix @@ -40,9 +40,6 @@ home.homeDirectory = "/home/xenia"; home.stateVersion = "22.11"; home.packages = with pkgs; [ prismlauncher ]; - - programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix"; - programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch"; }; # Extra hardware configuration diff --git a/common.nix b/common.nix index 8765ac8f..1bd4e05d 100644 --- a/common.nix +++ b/common.nix @@ -7,6 +7,20 @@ # Home manager integration with NixOS home-manager.useUserPackages = true; home-manager.useGlobalPkgs = true; + home-manager.users.root = { ... }: { + imports = [ + ./home/env/bash.nix + ./home/env/bat.nix + ./home/env/starship.nix + ./home/env/neovim.nix + ./home/git/personal.nix + ]; + # Home Manager needs a bit of information about you and the + # paths it should manage. + home.username = "root"; + home.homeDirectory = "/root"; + home.stateVersion = "22.11"; + }; # Enable networking networking = {