From f7e1bb0e12ca0c6ef927a78a63f1b33f099efc7b Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 3 Aug 2023 11:45:47 +0200 Subject: [PATCH] home-manager: mv chunk earlier in the file --- home-surtur.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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