summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-31 06:59:56 -0400
committerseth <[email protected]>2024-06-01 01:52:42 +0000
commit52e89154ce73418834592af5d370e208bb1a28fb (patch)
treef6ca941921a645a61b447adb173ee5e196b04f94
parent7168a84dc02191dd498ac1fbadb8da945d41477b (diff)
seth: use nixpkgs' `nu_scripts`
-rw-r--r--flake.lock17
-rw-r--r--flake.nix5
-rw-r--r--users/seth/shell/nu.nix4
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})
'';