diff --git a/install.sh b/install.sh index 8c1582d..4fa1b10 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,6 @@ HM_FLAKE="${HM_FLAKE:-home-manager/master}" NIX_PROFILE_SCRIPT=/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh NIX_RECEIPT=/nix/receipt.json NIX_INSTALLER_BIN=/nix/nix-installer -FLAKES_LINE="experimental-features = nix-command flakes" CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" HM_CONFIG_LINK="$CONFIG_HOME/home-manager" @@ -61,19 +60,14 @@ Commands: --flake given that flake (a directory or a flake reference) --clone given your config's git repository (git@host:owner/repo, https://..., github:owner/repo), cloned into - --dir (default ~/nix-config) on branch --ref, - then used like --flake . Without a Home - Manager configuration it activates the template - first, for git's credential helpers (gh, - ~/.git-credentials), and offers 'gh auth login' - if the clone fails. Only a missing directory or - the unchanged template is replaced by the clone; - anything else there is used as it is - otherwise ~/.config/home-manager, else the flake in - ~/nix-config (linked there) - neither exists a new config in ~/nix-config from the - steam-frame-nix template, linked to - ~/.config/home-manager + --dir (default ~/nix-config) on branch --ref + (anything there but the unchanged template is + used as it is), then used like --flake . + Private repositories: see the README + otherwise ~/.config/home-manager; without it the flake + in ~/nix-config, else a new config there from + the steam-frame-nix template (either linked to + ~/.config/home-manager) Existing dotfiles that conflict are renamed to *.hm-backup-