mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
add send
This commit is contained in:
24
flake.lock
generated
24
flake.lock
generated
@@ -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",
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
spectral = python3Packages.callPackage ./spectral {};
|
||||
vesta = callPackage ./vesta {};
|
||||
oneapi = callPackage ./oneapi {};
|
||||
send = callPackage ./send {};
|
||||
}
|
||||
|
||||
15
local/pkgs/send/default.nix
Normal file
15
local/pkgs/send/default.nix
Normal 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;
|
||||
}
|
||||
@@ -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}";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user