diff --git a/home-surtur.nix b/home-surtur.nix index 0864097..ad0ba15 100644 --- a/home-surtur.nix +++ b/home-surtur.nix @@ -12,6 +12,16 @@ in { home.homeDirectory = "/home/$USER"; home.stateVersion = "22.11"; + # build configuration and switch: + # ➜ home-manager switch --no-out-link -b backup --flake~/utils/dotfiles#$HOST + + # alternatively, install HM with: + # nix profile install --priority 0 home-manager + # hit the issue described here, waiting until resolved: + # https://github.com/nix-community/home-manager/issues/2848 + programs.home-manager.enable = true; + programs.home-manager.path = "$HOME/utils/dotfiles"; + home.packages = with pkgs; [ alejandra statix @@ -54,15 +64,6 @@ in { }; }; - # build a configuration and switch: - # ➜ home-manager switch --no-out-link -b backup --flake~/utils/dotfiles#$HOST - - # instead, install with: - # nix profile install --priority 0 home-manager - # hit the issue described here, waiting until resolved: - # https://github.com/nix-community/home-manager/issues/2848 - programs.home-manager.enable = false; - programs.home-manager.path = "$HOME/utils/dotfiles"; imports = [ ./nix/programs.nix