From 52e89154ce73418834592af5d370e208bb1a28fb Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 31 May 2024 06:59:56 -0400 Subject: seth: use nixpkgs' `nu_scripts` --- flake.lock | 17 ----------------- flake.nix | 5 ----- users/seth/shell/nu.nix | 4 ++-- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/flake.lock b/flake.lock index 65a264e..b647fda 100644 --- a/flake.lock +++ b/flake.lock @@ -409,22 +409,6 @@ "type": "indirect" } }, - "nu-scripts": { - "flake": false, - "locked": { - "lastModified": 1717097863, - "narHash": "sha256-dkOiAwWImleVWzJ+JxrVxlchlG8F2bPEFykGQ8W2wCc=", - "owner": "nushell", - "repo": "nu_scripts", - "rev": "e4dbec663beae2c27a2e1e084514bb9a3f08c861", - "type": "github" - }, - "original": { - "owner": "nushell", - "repo": "nu_scripts", - "type": "github" - } - }, "openwrt-imagebuilder": { "inputs": { "nixpkgs": [ @@ -463,7 +447,6 @@ "nixos-wsl": "nixos-wsl", "nixpkgs": "nixpkgs", "nixpkgs-stable": "nixpkgs-stable", - "nu-scripts": "nu-scripts", "openwrt-imagebuilder": "openwrt-imagebuilder", "teawiebot": "teawiebot", "terranix": "terranix" diff --git a/flake.nix b/flake.nix index 4f73e19..d313b1b 100644 --- a/flake.nix +++ b/flake.nix @@ -125,11 +125,6 @@ }; }; - nu-scripts = { - url = "github:nushell/nu_scripts"; - flake = false; - }; - openwrt-imagebuilder = { url = "github:astro/nix-openwrt-imagebuilder"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/users/seth/shell/nu.nix b/users/seth/shell/nu.nix index 69438ea..9b6deeb 100644 --- a/users/seth/shell/nu.nix +++ b/users/seth/shell/nu.nix @@ -1,7 +1,7 @@ { config, lib, - inputs, + pkgs, ... }: let cfg = config.seth.shell.nushell; @@ -23,7 +23,7 @@ in { ''; envFile.text = '' - use ${inputs.nu-scripts}/themes/nu-themes/${theme}.nu + use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/${theme}.nu $env.config.color_config = (${theme}) ''; -- cgit v1.2.3