From 6a1cb5e1b23d6a003db97a5c036551013b5a5f09 Mon Sep 17 00:00:00 2001 From: John Axel Eriksson Date: Mon, 25 Nov 2024 13:39:19 +0100 Subject: [PATCH] fix: lint complaints (#1026) --- darwin/aarch64-darwin/VW2WRF4694.nix | 2 -- users/profiles/nushell/default.nix | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) 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