Remove hardcoded home paths.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
@@ -83,7 +83,7 @@ in {
|
|||||||
|
|
||||||
rshellconf = "source ${homeDirectory}/.zshrc";
|
rshellconf = "source ${homeDirectory}/.zshrc";
|
||||||
nrsw = "sudo darwin-rebuild switch --flake ${homeDirectory}/nixos#macbook";
|
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 = ''
|
initContent = ''
|
||||||
|
|||||||
@@ -50,8 +50,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# homeDirectory = "${config.hostSpec.home}";
|
homeDirectory = config.user.homeDirectory;
|
||||||
homeDirectory = "/home/jmug"; # Should be parametric.
|
|
||||||
yubikey-up =
|
yubikey-up =
|
||||||
let
|
let
|
||||||
yubikeyIds = lib.concatStringsSep " " (
|
yubikeyIds = lib.concatStringsSep " " (
|
||||||
|
|||||||
Reference in New Issue
Block a user