Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | c43efdcc3a | ||
Dmitry Voronin | 6e49c30e58 |
|
@ -47,5 +47,18 @@
|
|||
|
||||
SHELL_NAME="''${pkg}" NIXPKGS_ALLOW_UNFREE=1 nix shell --impure github:NixOS/nixpkgs/''${rev}#''${pkg} -c ''${cmd}
|
||||
}
|
||||
|
||||
# Prefetch to nix store.
|
||||
# Usage: prefetch <URL>
|
||||
function prefetch() {
|
||||
local url="''${1}"
|
||||
|
||||
if [[ "''${url}" = "" ]]; then
|
||||
help prefetch
|
||||
return 2
|
||||
fi
|
||||
|
||||
nix hash to-sri --type sha256 $(nix-prefetch-url "''${url}")
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
module = {
|
||||
# ISSUE: hdd.enable = true;
|
||||
change.enable = true;
|
||||
chat.enable = true;
|
||||
cloud.enable = true;
|
||||
ddns.enable = true;
|
||||
dns.enable = true;
|
||||
|
|
Loading…
Reference in a new issue