This commit is contained in:
2023-08-13 19:42:41 +08:00
parent 54c637dc30
commit 0ea315017e
6 changed files with 53 additions and 2 deletions

24
flake.lock generated
View File

@@ -133,6 +133,29 @@
"type": "github"
}
},
"napalm": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1672245824,
"narHash": "sha256-i596lbPiA/Rfx3DiJiCluxdgxWY7oGSgYMT7OmM+zik=",
"owner": "nix-community",
"repo": "napalm",
"rev": "7c25a05cef52dc405f4688422ce0046ca94aadcf",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "napalm",
"type": "github"
}
},
"nix-alien": {
"inputs": {
"flake-compat": [
@@ -396,6 +419,7 @@
"flake-utils-plus": "flake-utils-plus",
"home-manager": "home-manager",
"impermanence": "impermanence",
"napalm": "napalm",
"nix-alien": "nix-alien",
"nix-index-database": "nix-index-database",
"nix-vscode-extensions": "nix-vscode-extensions",

View File

@@ -91,6 +91,15 @@
flake-parts.follows = "flake-parts";
};
};
napalm =
{
url = "github:nix-community/napalm";
inputs =
{
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
};
outputs = inputs:

View File

@@ -5,4 +5,5 @@
spectral = python3Packages.callPackage ./spectral {};
vesta = callPackage ./vesta {};
oneapi = callPackage ./oneapi {};
send = callPackage ./send {};
}

View File

@@ -0,0 +1,15 @@
{ buildNpmPackage, fetchFromGitHub, nodejs-16_x }:
buildNpmPackage.override { nodejs = nodejs-16_x; }
{
pname = "send";
version = "3.4.23";
src = fetchFromGitHub
{
owner = "timvisee";
repo = "send";
rev = "6ad2885a168148fb996d3983457bc39527c7c8e5";
hash = "sha256-/w9KhktDVSAmp6EVIRHFM63mppsIzYSm5F7CQQd/2+E=";
};
npmDepsHash = "sha256-r1iaurKuhpP0sevB5pFdtv9j1ikM1fKL7Jgakh4FzTI=";
makeCacheWritable = true;
}

View File

@@ -19,6 +19,7 @@ inputs:
topInputs.qchem.overlays.default
topInputs.nixd.overlays.default
topInputs.nix-alien.overlays.default
topInputs.napalm.overlays.default
(final: prev:
{
touchix = topInputs.touchix.packages."${prev.system}";

View File

@@ -96,7 +96,7 @@ inputs:
nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
nixpkgs.config =
{
permittedInsecurePackages = [ "openssl-1.1.1v" "electron-19.0.7" ];
permittedInsecurePackages = [ "openssl-1.1.1v" "electron-19.0.7" "nodejs-16.20.1" ];
allowUnfree = true;
};
}
@@ -112,7 +112,8 @@ inputs:
gparted snapper-gui libsForQt5.qtstyleplugin-kvantum wl-clipboard-x11 kio-fuse wl-mirror
wayland-utils clinfo glxinfo vulkan-tools dracut
# nix tools
nix-template appimage-run nil nixd nix-alien ssh-to-age nix-serve node2nix
nix-template appimage-run nil nixd nix-alien ssh-to-age nix-serve node2nix nix-prefetch-github
prefetch-npm-deps
# instant messager
element-desktop telegram-desktop discord qq nur-xddxdd.wechat-uos # jail
inputs.config.nur.repos.linyinfeng.wemeet # native # nur-xddxdd.wine-wechat thunder