srid / nixos-flake

A flake-parts module to manage NixOS and macOS machines, along with home-manager support, in a unified fashion.
https://community.flake.parts/nixos-flake
MIT License
175 stars 19 forks source link

Fix home template test #23

Open srid opened 1 year ago

srid commented 1 year ago
+ nix run '.#homeConfigurations."john".activationPackage'
warning: creating lock file '/Users/srid/code/nixos-flake/examples/home/flake.lock'
warning: Git tree '/Users/srid/code/nixos-flake' is dirty
Starting Home Manager activation
Error: HOME is set to "/Users/srid/code/nixos-flake/examples/home/tmp/home" but we expect "/Users/john"

cf. https://github.com/nix-community/home-manager/pull/4022

srid commented 1 year ago

Could sidestep these messy bash scripts entirely through #11