diff --git a/darwin/aarch64-darwin/VW2WRF4694.nix b/darwin/aarch64-darwin/VW2WRF4694.nix index c74746c0..ce450af5 100644 --- a/darwin/aarch64-darwin/VW2WRF4694.nix +++ b/darwin/aarch64-darwin/VW2WRF4694.nix @@ -1,7 +1,5 @@ { adminUser, - hostName, - config, pkgs, ... }: { diff --git a/users/profiles/nushell/default.nix b/users/profiles/nushell/default.nix index 4ce30a55..f6f023fa 100644 --- a/users/profiles/nushell/default.nix +++ b/users/profiles/nushell/default.nix @@ -10,7 +10,10 @@ if pkgs.stdenv.isDarwin && !config.xdg.enable then "Library/Application Support/nushell" else "${config.xdg.configHome}/nushell"; - configPath = path: if (builtins.substring 0 1 configDir) == "/" then configDir else "~/${configDir}"; + configPath = path: + if (builtins.substring 0 1 path) == "/" + then path + else "~/${path}"; in { home.packages = [ pkgs.jwt-cli ## see env.nu for impl