diff --git a/flake.lock b/flake.lock index 86cc43c..1b4e607 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,20 @@ { "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -7,11 +22,11 @@ ] }, "locked": { - "lastModified": 1687871164, - "narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=", + "lastModified": 1692099905, + "narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=", "owner": "nix-community", "repo": "home-manager", - "rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38", + "rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f", "type": "github" }, "original": { @@ -48,13 +63,35 @@ "type": "github" } }, + "nixGL": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "pbsds-papers", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1685908677, + "narHash": "sha256-E4zUPEUFyVWjVm45zICaHRpfGepfkE9Z2OECV9HXfA4=", + "owner": "guibou", + "repo": "nixGL", + "rev": "489d6b095ab9d289fe11af0219a9ff00fe87c7c5", + "type": "github" + }, + "original": { + "owner": "guibou", + "repo": "nixGL", + "type": "github" + } + }, "nixos-hardware": { "locked": { - "lastModified": 1686838567, - "narHash": "sha256-aqKCUD126dRlVSKV6vWuDCitfjFrZlkwNuvj5LtjRRU=", + "lastModified": 1692373088, + "narHash": "sha256-EPgCecdc9I8aTdmDNoO1l7R72r2WPhZRcesV4nzxBj8=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "429f232fe1dc398c5afea19a51aad6931ee0fb89", + "rev": "7f1836531b126cfcf584e7d7d71bf8758bb58969", "type": "github" }, "original": { @@ -65,11 +102,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1688594934, - "narHash": "sha256-3dUo20PsmUd57jVZRx5vgKyIN1tv+v/JQweZsve5q/A=", + "lastModified": 1692414505, + "narHash": "sha256-sSTuyR9JYSxmUcYcj0Jvw1hIq1tz/Canw9mK0hEJvnE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e11142026e2cef35ea52c9205703823df225c947", + "rev": "4cdad15f34e6321a2f789b99d42815b9142ac2ba", "type": "github" }, "original": { @@ -115,15 +152,16 @@ "inputs": { "katex": "katex", "nix-filter": "nix-filter", + "nixGL": "nixGL", "nixpkgs": "nixpkgs_2", "nixpkgs-unstable": "nixpkgs-unstable" }, "locked": { - "lastModified": 1688109359, - "narHash": "sha256-HqBfhPqskDNBYT55Rzs7GmAPqqreOcjEf6/eB5sEZ2Q=", + "lastModified": 1689370396, + "narHash": "sha256-yWqJotnR1QRTJDxMuIP393MUefXUrFAblWwnWVl4wpU=", "ref": "refs/heads/main", - "rev": "c2874a2d959b3bdb1d822b35f34a90380b5b484f", - "revCount": 441, + "rev": "3478c3c680178445bab53b27f4ec511c9a27e4cc", + "revCount": 447, "type": "git", "url": "ssh://git@github.com/pbsds/papers.git" }, @@ -132,39 +170,22 @@ "url": "ssh://git@github.com/pbsds/papers.git" } }, - "pr-polaris14": { - "locked": { - "lastModified": 1678925311, - "narHash": "sha256-ruz0MPR/FGpX69nqJFII1VP4LqPc2mjDUxyr11NeC9Y=", - "owner": "pbsds", - "repo": "nixpkgs", - "rev": "cb4990ec84930308c79714daaa3a6f34d5c14538", - "type": "github" - }, - "original": { - "owner": "pbsds", - "ref": "polaris-14", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "pbsds-papers": "pbsds-papers", - "pr-polaris14": "pr-polaris14", "unstable": "unstable" } }, "unstable": { "locked": { - "lastModified": 1688590700, - "narHash": "sha256-ZF055rIUP89cVwiLpG5xkJzx00gEuuGFF60Bs/LM3wc=", + "lastModified": 1692447944, + "narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f292b4964cb71f9dfbbd30dc9f511d6165cd109b", + "rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d", "type": "github" }, "original": { diff --git a/profiles/web/services/rss-bridge.nix b/profiles/web/services/rss-bridge.nix new file mode 100644 index 0000000..ccdde45 --- /dev/null +++ b/profiles/web/services/rss-bridge.nix @@ -0,0 +1,18 @@ +{ config, ... }: +{ + # RSS-Bridge + # The RSS feed for websites missing it + + services.rss-bridge = { + enable = true; + virtualHost = "rss-bridge.kuklef.se"; + whitelist = [ "*" ]; + #whitelist = [ "Reddit" ]; + }; + + services.nginx.virtualHosts.${config.services.rss-bridge.virtualHost} = { + forceSSL = true; # addSSL = true; + enableACME = true; #useACMEHost = acmeDomain; + }; + +}