summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew@montgomery.systems>2026-07-08 23:22:08 -0400
committerSkullheadx <andrew@montgomery.systems>2026-07-08 23:22:08 -0400
commitd9c791290ac34161933b2545584b167f3a69a6a3 (patch)
tree942901a90982d68ccb12ba8fd3b29cb43f0ae123
parenttry to fix links in ghostty (diff)
downloadnixos-d9c791290ac34161933b2545584b167f3a69a6a3.tar.gz
nixos-d9c791290ac34161933b2545584b167f3a69a6a3.tar.bz2
nixos-d9c791290ac34161933b2545584b167f3a69a6a3.zip
add nix-cache.skullheadx.com
-rw-r--r--common-darwin.nix11
-rw-r--r--common-linux.nix11
-rw-r--r--flake.lock66
-rw-r--r--hosts/icon/configuration.nix9
4 files changed, 40 insertions, 57 deletions
diff --git a/common-darwin.nix b/common-darwin.nix
index e98a33c..32a1f5f 100644
--- a/common-darwin.nix
+++ b/common-darwin.nix
@@ -149,8 +149,15 @@
nixpkgs.config.allowUnfree = true;
nix.settings = {
experimental-features = ["nix-command" "flakes"];
- extra-substituters = ["https://nix-community.cachix.org"];
- extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
+ substituters = [
+ # "https://nix-cache.skullheadx.com"
+ "https://nix-community.cachix.org"
+ "https://cache.nixos.org/"
+ ];
+ trusted-public-keys = [
+ # "nix-cache.skullheadx.com:Nom1Auo0mjFVJGnquoIabtMrMEksqBQEab2RNv0ZnBc="
+ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+ ];
};
nix.optimise = {
automatic = true;
diff --git a/common-linux.nix b/common-linux.nix
index 945fa0f..428870e 100644
--- a/common-linux.nix
+++ b/common-linux.nix
@@ -34,8 +34,15 @@
nixpkgs.config.allowUnfree = true;
nix.settings = {
experimental-features = ["nix-command" "flakes"];
- extra-substituters = ["https://nix-community.cachix.org"];
- extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
+ substituters = [
+ "https://nix-cache.skullheadx.com"
+ "https://nix-community.cachix.org"
+ "https://cache.nixos.org/"
+ ];
+ trusted-public-keys = [
+ "nix-cache.skullheadx.com:Nom1Auo0mjFVJGnquoIabtMrMEksqBQEab2RNv0ZnBc="
+ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+ ];
};
nix.optimise = {
automatic = true;
diff --git a/flake.lock b/flake.lock
index 0d75a46..d7dd319 100644
--- a/flake.lock
+++ b/flake.lock
@@ -16,27 +16,6 @@
"url": "https://git.lix.systems/lix-project/flake-compat.git"
}
},
- "flake-parts": {
- "inputs": {
- "nixpkgs-lib": [
- "nvf",
- "nixpkgs"
- ]
- },
- "locked": {
- "lastModified": 1778716662,
- "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
- "owner": "hercules-ci",
- "repo": "flake-parts",
- "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
- "type": "github"
- },
- "original": {
- "owner": "hercules-ci",
- "repo": "flake-parts",
- "type": "github"
- }
- },
"hjem": {
"inputs": {
"nixpkgs": [
@@ -62,11 +41,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
- "lastModified": 1782749631,
- "narHash": "sha256-slFTUgDy0KTPA4LBAmC/9SngDq8GCPdX+ZR0yQHHN1E=",
+ "lastModified": 1783222121,
+ "narHash": "sha256-E/ElL373TO8lQ2aMvYyzN+k4xkVaUGoRqoa8AtM71tI=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "5d72a29fc36ac21adae6ae35568fe5ee6700850f",
+ "rev": "a1645f40777620c4bd2b6d854b290c2fc354a266",
"type": "github"
},
"original": {
@@ -178,7 +157,7 @@
"locked": {
"lastModified": 1777933639,
"narHash": "sha256-BMZmBTKFy8iab051rmXBHUZcfaav/c4GR9rpgdCR6XM=",
- "ref": "refs/heads/surf-webkit2",
+ "ref": "refs/heads/master",
"rev": "a9203494a3895f95a0207dabf7c587e60dab45c8",
"revCount": 620,
"type": "git",
@@ -212,11 +191,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1782175435,
- "narHash": "sha256-EMzXKmnOtBQ2MnvpiNOm7E+kOMvdPrIKaeg52Tip2Uk=",
+ "lastModified": 1782948114,
+ "narHash": "sha256-AXmz9ho4Lud5CsbrZsuSVwpQZ4o5FgZ1chxBn5cJ8+0=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "89570f24e97e614aa34aa9ab1c927b6578a43775",
+ "rev": "9e92285f211dad236540fd617d7e30e0b99bc0e1",
"type": "github"
},
"original": {
@@ -228,11 +207,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1782467914,
- "narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=",
+ "lastModified": 1783224372,
+ "narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "e73de5be04e0eff4190a1432b946d469c794e7b4",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
"type": "github"
},
"original": {
@@ -245,19 +224,17 @@
"nvf": {
"inputs": {
"flake-compat": "flake-compat",
- "flake-parts": "flake-parts",
"mnw": "mnw",
"nixpkgs": [
"nixpkgs"
- ],
- "systems": "systems"
+ ]
},
"locked": {
- "lastModified": 1782660650,
- "narHash": "sha256-d4Ndt82q9bhL+iKFr1reufZyE/MTdULzN3kEkXsNG88=",
+ "lastModified": 1783282377,
+ "narHash": "sha256-kw1sJ6WONc6lin/L81sB90fEtR9kxj/HN6RO++92vSI=",
"owner": "notashelf",
"repo": "nvf",
- "rev": "18d2d23191250c7f597d85da07d860eb05f9e1be",
+ "rev": "5bd50f1b71686715737537fd363281b0b0123085",
"type": "github"
},
"original": {
@@ -279,21 +256,6 @@
"nixpkgs": "nixpkgs_2",
"nvf": "nvf"
}
- },
- "systems": {
- "locked": {
- "lastModified": 1681028828,
- "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
- "owner": "nix-systems",
- "repo": "default",
- "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
- "type": "github"
- },
- "original": {
- "owner": "nix-systems",
- "repo": "default",
- "type": "github"
- }
}
},
"root": "root",
diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix
index a5aa0b9..cebb9ca 100644
--- a/hosts/icon/configuration.nix
+++ b/hosts/icon/configuration.nix
@@ -189,6 +189,12 @@
};
};
+ services.nix-serve = {
+ enable = true;
+ package = pkgs.nix-serve-ng;
+ secretKeyFile = "/var/cache-priv-key.pem";
+ };
+
services.nginx = {
enable = true;
virtualHosts = {
@@ -311,7 +317,8 @@
8080
6667
2049
- ]; # git, gitweb, irc, nfs
+ 5000
+ ]; # git, gitweb, irc, nfs, nix-serve-ng
networking.firewall.allowedUDPPorts = [55555]; # wireguard
# Or disable the firewall altogether.
# networking.firewall.enable = false;