diff options
author | stuebinm | 2022-01-09 08:09:39 +0100 |
---|---|---|
committer | stuebinm | 2022-01-09 08:12:16 +0100 |
commit | e88fed18f499a3e8ac98c772bbb62f00d1f8d1d7 (patch) | |
tree | 2acb627ac0bf070d42f3b214015fdf1b4e920c44 /hosts/flora/services | |
parent | eb97c76228dd9675ccfe4662ca551f07327ca9b4 (diff) |
use flakes instead of niv & stuff
Diffstat (limited to 'hosts/flora/services')
-rw-r--r-- | hosts/flora/services/blog.nix | 4 | ||||
-rw-r--r-- | hosts/flora/services/pleroma.nix | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/hosts/flora/services/blog.nix b/hosts/flora/services/blog.nix index 428b3fb..056a63b 100644 --- a/hosts/flora/services/blog.nix +++ b/hosts/flora/services/blog.nix @@ -1,9 +1,9 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, inputs, ... }: { services.nginx.virtualHosts."stuebinm.eu" = { enableACME = true; forceSSL = true; - locations."/".root = (import /home/stuebinm/Dokumente/blog); + locations."/".root = (import inputs.blog); }; } diff --git a/hosts/flora/services/pleroma.nix b/hosts/flora/services/pleroma.nix index fca9d65..e93e553 100644 --- a/hosts/flora/services/pleroma.nix +++ b/hosts/flora/services/pleroma.nix @@ -1,8 +1,7 @@ -{config, pkgs, ...}: +{config, pkgs, inputs, ...}: let - sources = import ../../../nix/sources.nix; domain = "pleroma.stuebinm.eu"; in { @@ -30,7 +29,7 @@ in enable = true; - package = (import sources.nixpkgs-unstable {}).pleroma; + package = (import inputs.nixpkgs-unstable {}).pleroma; # this is barely necessary at this point — all that's # set in here is the default_signer for joken, and the |