aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock193
-rw-r--r--flake.nix7
-rw-r--r--hosts/sagittarius/web/blog.nix4
3 files changed, 177 insertions, 27 deletions
diff --git a/flake.lock b/flake.lock
index 73970fd..029898c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -171,6 +171,22 @@
"type": "github"
}
},
+ "flake-compat_4": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1673956053,
+ "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@@ -243,6 +259,24 @@
"type": "github"
}
},
+ "flake-utils_4": {
+ "inputs": {
+ "systems": "systems_6"
+ },
+ "locked": {
+ "lastModified": 1685518550,
+ "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"gitignore": {
"inputs": {
"nixpkgs": [
@@ -264,6 +298,28 @@
"type": "github"
}
},
+ "gitignore_2": {
+ "inputs": {
+ "nixpkgs": [
+ "sorre-website",
+ "pre-commit-hooks-nix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1660459072,
+ "narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "type": "github"
+ }
+ },
"helix": {
"inputs": {
"crane": "crane_2",
@@ -274,11 +330,11 @@
"rust-overlay": "rust-overlay_2"
},
"locked": {
- "lastModified": 1699520217,
- "narHash": "sha256-+b4R/GUQrRBGGpmDXna8w28ueeK7FhIYhQTSHqFJuqo=",
+ "lastModified": 1699931750,
+ "narHash": "sha256-QciV+JHMl5de0Ohkldf8bC9J5GpQH1c+NPAwPkty3sg=",
"owner": "helix-editor",
"repo": "helix",
- "rev": "6ab774da0b473c36a437d90abcdac3558353d32e",
+ "rev": "40959bb449ec9dfbff9249332853a02b50f483fe",
"type": "github"
},
"original": {
@@ -294,11 +350,11 @@
]
},
"locked": {
- "lastModified": 1699368917,
- "narHash": "sha256-nUtGIWf86BOkUbtksWtfglvCZ/otP0FTZlQH8Rzc7PA=",
+ "lastModified": 1699783872,
+ "narHash": "sha256-4zTwLT2LL45Nmo6iwKB3ls3hWodVP9DiSWxki/oewWE=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "6a8444467c83c961e2f5ff64fb4f422e303c98d3",
+ "rev": "280721186ab75a76537713ec310306f0eba3e407",
"type": "github"
},
"original": {
@@ -318,11 +374,11 @@
"xdph": "xdph"
},
"locked": {
- "lastModified": 1699642155,
- "narHash": "sha256-qbtMRA6jAFtGGthiCaFZHaqs51pcW6285H3q9bj4QVg=",
+ "lastModified": 1700051522,
+ "narHash": "sha256-u9k9O8oN5udH3ReAjJKribuJD8jHGHu5MDkJAXpqplo=",
"owner": "hyprwm",
"repo": "Hyprland",
- "rev": "92cb44ddb2b464d1ef770ba1f4c79eafecae065b",
+ "rev": "9e3dccca76ca3af4e96ac80c2ddef4774dc1354b",
"type": "github"
},
"original": {
@@ -358,11 +414,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1699099776,
- "narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=",
+ "lastModified": 1699781429,
+ "narHash": "sha256-UYefjidASiLORAjIvVsUHG6WBtRhM67kTjEY4XfZOFs=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb",
+ "rev": "e44462d6021bfe23dfb24b775cc7c390844f773d",
"type": "github"
},
"original": {
@@ -408,11 +464,11 @@
},
"nixpkgs-stable_2": {
"locked": {
- "lastModified": 1699110214,
- "narHash": "sha256-L2TU4RgtiqF69W8Gacg2jEkEYJrW+Kp0Mp4plwQh5b8=",
+ "lastModified": 1699756042,
+ "narHash": "sha256-bHHjQQBsEPOxLL+klYU2lYshDnnWY12SewzQ7n5ab2M=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "78f3a4ae19f0e99d5323dd2e3853916b8ee4afee",
+ "rev": "9502d0245983bb233da8083b55d60d96fd3c29ff",
"type": "github"
},
"original": {
@@ -422,6 +478,22 @@
"type": "github"
}
},
+ "nixpkgs-stable_3": {
+ "locked": {
+ "lastModified": 1685801374,
+ "narHash": "sha256-otaSUoFEMM+LjBI1XL/xGB5ao6IwnZOXc47qhIgJe8U=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "c37ca420157f4abc31e26f436c1145f8951ff373",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-23.05",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"pre-commit-hooks-nix": {
"inputs": {
"flake-compat": "flake-compat_3",
@@ -446,6 +518,31 @@
"type": "github"
}
},
+ "pre-commit-hooks-nix_2": {
+ "inputs": {
+ "flake-compat": "flake-compat_4",
+ "flake-utils": "flake-utils_4",
+ "gitignore": "gitignore_2",
+ "nixpkgs": [
+ "sorre-website",
+ "nixpkgs"
+ ],
+ "nixpkgs-stable": "nixpkgs-stable_3"
+ },
+ "locked": {
+ "lastModified": 1699271226,
+ "narHash": "sha256-8Jt1KW3xTjolD6c6OjJm9USx/jmL+VVmbooADCkdDfU=",
+ "owner": "cachix",
+ "repo": "pre-commit-hooks.nix",
+ "rev": "ea758da1a6dcde6dc36db348ed690d09b9864128",
+ "type": "github"
+ },
+ "original": {
+ "owner": "cachix",
+ "repo": "pre-commit-hooks.nix",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"conduit": "conduit",
@@ -458,6 +555,7 @@
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
"scripts": "scripts",
"sops-nix": "sops-nix",
+ "sorre-website": "sorre-website",
"treefmt-nix": "treefmt-nix"
}
},
@@ -564,11 +662,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
- "lastModified": 1699311858,
- "narHash": "sha256-W/sQrghPAn5J9d+9kMnHqi4NPVWVpy0V/qzQeZfS/dM=",
+ "lastModified": 1699951338,
+ "narHash": "sha256-1GeczM7XfgHcYGYiYNcdwSFu3E62vmh4d7mffWZvyzE=",
"owner": "Mic92",
"repo": "sops-nix",
- "rev": "664187539871f63857bda2d498f452792457b998",
+ "rev": "0e3a94167dcd10a47b89141f35b2ff9e04b34c46",
"type": "github"
},
"original": {
@@ -577,6 +675,36 @@
"type": "github"
}
},
+ "sorre-website": {
+ "inputs": {
+ "devshell": [
+ "devshell"
+ ],
+ "flake-parts": [
+ "flake-parts"
+ ],
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "pre-commit-hooks-nix": "pre-commit-hooks-nix_2",
+ "treefmt-nix": [
+ "treefmt-nix"
+ ]
+ },
+ "locked": {
+ "lastModified": 1700053591,
+ "narHash": "sha256-C/VrC4eeQa7kbFQhVj4cpPu+iTnD4zZItBBjmr9fByo=",
+ "ref": "refs/heads/main",
+ "rev": "b765c39c8f78587804cde2f5b4ec0da8f3ffe864",
+ "revCount": 3,
+ "type": "git",
+ "url": "https://codeberg.org/miranb/sorre-website.git"
+ },
+ "original": {
+ "type": "git",
+ "url": "https://codeberg.org/miranb/sorre-website.git"
+ }
+ },
"systems": {
"locked": {
"lastModified": 1681028828,
@@ -652,6 +780,21 @@
"type": "github"
}
},
+ "systems_6": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@@ -659,11 +802,11 @@
]
},
"locked": {
- "lastModified": 1699634394,
- "narHash": "sha256-6ZIBA0Btq+69lLLZ+uATMKmht3ju44dPYzpL6Nij+ac=",
+ "lastModified": 1699786194,
+ "narHash": "sha256-3h3EH1FXQkIeAuzaWB+nK0XK54uSD46pp+dMD3gAcB4=",
"owner": "numtide",
"repo": "treefmt-nix",
- "rev": "765089ab844b10629e4158229f36d67bec29db53",
+ "rev": "e82f32aa7f06bbbd56d7b12186d555223dc399d1",
"type": "github"
},
"original": {
@@ -676,18 +819,18 @@
"flake": false,
"locked": {
"host": "gitlab.freedesktop.org",
- "lastModified": 1697909146,
- "narHash": "sha256-jU0I6FoCKnj4zIBL4daosFWh81U1fM719Z6cae8PxSY=",
+ "lastModified": 1699292815,
+ "narHash": "sha256-HXu98PyBMKEWLqiTb8viuLDznud/SdkdJsx5A5CWx7I=",
"owner": "wlroots",
"repo": "wlroots",
- "rev": "47bf87ade2bd32395615a385ebde1fefbcdf79a2",
+ "rev": "5de9e1a99d6642c2d09d589aa37ff0a8945dcee1",
"type": "gitlab"
},
"original": {
"host": "gitlab.freedesktop.org",
"owner": "wlroots",
"repo": "wlroots",
- "rev": "47bf87ade2bd32395615a385ebde1fefbcdf79a2",
+ "rev": "5de9e1a99d6642c2d09d589aa37ff0a8945dcee1",
"type": "gitlab"
}
},
diff --git a/flake.nix b/flake.nix
index 978520a..a23f224 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,13 @@
inputs.flake-parts.follows = "flake-parts";
inputs.devshell.follows = "devshell";
};
+ sorre-website = {
+ url = "git+https://codeberg.org/miranb/sorre-website.git";
+ inputs.nixpkgs.follows = "nixpkgs";
+ inputs.flake-parts.follows = "flake-parts";
+ inputs.devshell.follows = "devshell";
+ inputs.treefmt-nix.follows = "treefmt-nix";
+ };
};
outputs = inputs@{ flake-parts, ... }:
diff --git a/hosts/sagittarius/web/blog.nix b/hosts/sagittarius/web/blog.nix
index 1226bd7..49ebb87 100644
--- a/hosts/sagittarius/web/blog.nix
+++ b/hosts/sagittarius/web/blog.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ inputs, pkgs, ... }: {
imports = [ ./acme.nix ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
@@ -8,7 +8,7 @@
virtualHosts."sorre.xyz" = {
enableACME = true;
forceSSL = true;
- root = "/var/www/blog";
+ root = inputs.sorre-website.packages.${pkgs.system}.default;
};
};
}