Skip to content

Commit

Permalink
fix: lint complaints (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae authored Nov 25, 2024
1 parent 8ce31a7 commit 6a1cb5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions darwin/aarch64-darwin/VW2WRF4694.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
adminUser,
hostName,
config,
pkgs,
...
}: {
Expand Down
5 changes: 4 additions & 1 deletion users/profiles/nushell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a1cb5e

Please sign in to comment.