diff options
| author | seth <[email protected]> | 2024-05-31 06:59:56 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-06-01 01:52:42 +0000 |
| commit | 52e89154ce73418834592af5d370e208bb1a28fb (patch) | |
| tree | f6ca941921a645a61b447adb173ee5e196b04f94 | |
| parent | 7168a84dc02191dd498ac1fbadb8da945d41477b (diff) | |
seth: use nixpkgs' `nu_scripts`
| -rw-r--r-- | flake.lock | 17 | ||||
| -rw-r--r-- | flake.nix | 5 | ||||
| -rw-r--r-- | users/seth/shell/nu.nix | 4 |
3 files changed, 2 insertions, 24 deletions
@@ -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" @@ -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}) ''; |
