home-manager: mv chunk earlier in the file

This commit is contained in:
surtur 2023-08-03 11:45:47 +02:00
parent 028a939c42
commit f7e1bb0e12
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -12,6 +12,16 @@ in {
home.homeDirectory = "/home/$USER"; home.homeDirectory = "/home/$USER";
home.stateVersion = "22.11"; 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; [ home.packages = with pkgs; [
alejandra alejandra
statix 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 = [ imports = [
./nix/programs.nix ./nix/programs.nix