chore: add tarball ttl option to reload-dotfiles to prevent caching

This commit is contained in:
technofab 2024-05-24 15:53:29 +02:00
parent 7da286dcfe
commit a4a331c338

View file

@ -20,7 +20,7 @@ pkgs.dockerTools.buildLayeredImage {
ncurses
dockerTools.usrBinEnv
(writeShellScriptBin "reload-dotfiles" ''
${home-manager}/bin/home-manager switch --flake ''${DOTFILES_REPO:-$1}
${home-manager}/bin/home-manager switch --flake ''${DOTFILES_REPO:-$1} --option tarball-ttl 0
'')
(writeTextDir "etc/nix/nix.conf" ''
experimental-features = nix-command flakes