Remove hardcoded home paths.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-08-18 20:17:20 -07:00
parent 5d5cbcfa88
commit cfc77653d9
2 changed files with 2 additions and 3 deletions

View file

@ -83,7 +83,7 @@ in {
rshellconf = "source ${homeDirectory}/.zshrc";
nrsw = "sudo darwin-rebuild switch --flake ${homeDirectory}/nixos#macbook";
opencode-local = "/Users/jmug/dev/opencode/dist-local/bin/opencode"; # Replace with the app.
opencode-local = "${homeDirectory}/dev/opencode/dist-local/bin/opencode";
};
initContent = ''

View file

@ -50,8 +50,7 @@
...
}:
let
# homeDirectory = "${config.hostSpec.home}";
homeDirectory = "/home/jmug"; # Should be parametric.
homeDirectory = config.user.homeDirectory;
yubikey-up =
let
yubikeyIds = lib.concatStringsSep " " (