Compare commits
2 commits
3431309511
...
34ce013bf5
Author | SHA1 | Date | |
---|---|---|---|
chayleaf | 34ce013bf5 | ||
chayleaf | 206a5ce766 |
18
flake.lock
18
flake.lock
|
@ -937,17 +937,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723550937,
|
"lastModified": 1723583256,
|
||||||
"narHash": "sha256-5gEXPy9qIrNi0nPk3D1ctVxh5Ndfrhyu+02R6BIcnHQ=",
|
"narHash": "sha256-EhgdkSGgEFZJsPhlq3tG9LvWBaix/ZoLUeqcAUPDWlk=",
|
||||||
"ref": "refs/heads/master",
|
"owner": "chayleaf",
|
||||||
"rev": "e0f642180056f351fd712f2b4f3149fd9f02367f",
|
"repo": "unbound-rust-mod",
|
||||||
"revCount": 24,
|
"rev": "8a99f2ed1290addee2eabeb5963e6bfc4f825295",
|
||||||
"type": "git",
|
"type": "github"
|
||||||
"url": "https://git.pavluk.org/chayleaf/unbound-rust-mod.git"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"owner": "chayleaf",
|
||||||
"url": "https://git.pavluk.org/chayleaf/unbound-rust-mod.git"
|
"repo": "unbound-rust-mod",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
unbound-rust-mod = {
|
unbound-rust-mod = {
|
||||||
url = "git+https://git.pavluk.org/chayleaf/unbound-rust-mod.git";
|
url = "github:chayleaf/unbound-rust-mod";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
flake-compat = {
|
flake-compat = {
|
||||||
|
|
|
@ -112,6 +112,7 @@ in {
|
||||||
"https://git.sr.ht/"
|
"https://git.sr.ht/"
|
||||||
"https://api.github.com/repos/"
|
"https://api.github.com/repos/"
|
||||||
"https://github.com/"
|
"https://github.com/"
|
||||||
|
"https://git.pavluk.org/"
|
||||||
# for nginx CF-Connecting-IP config generation
|
# for nginx CF-Connecting-IP config generation
|
||||||
"https://www.cloudflare.com/ips-v4"
|
"https://www.cloudflare.com/ips-v4"
|
||||||
"https://www.cloudflare.com/ips-v6"
|
"https://www.cloudflare.com/ips-v6"
|
||||||
|
|
12
update.sh
12
update.sh
|
@ -7,9 +7,9 @@ mozilla-addons-to-nix \
|
||||||
./pkgs/firefox-addons/addons.json \
|
./pkgs/firefox-addons/addons.json \
|
||||||
./pkgs/firefox-addons/generated.nix || echo "failed to update firefox addons"
|
./pkgs/firefox-addons/generated.nix || echo "failed to update firefox addons"
|
||||||
nix flake update
|
nix flake update
|
||||||
if [ -z ${SUDO_ASKPASS+x} ]; then
|
#if [ -z ${SUDO_ASKPASS+x} ]; then
|
||||||
sudo nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
# sudo nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
||||||
else
|
#else
|
||||||
sudo -A nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
# sudo -A nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
||||||
fi
|
#fi
|
||||||
home-manager switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
#home-manager switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
|
||||||
|
|
Loading…
Reference in a new issue