summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-09-25 14:54:55 +0200
committermakefu <github@syntax-fehler.de>2019-09-25 15:04:42 +0200
commit911b3c20299b11a3d87ae0a4f1f66626c79e9d1f (patch)
treed5def5628025615d5dd5cbb5e7044a02b50d8b08 /makefu/2configs
parentc232f2dc25e4f0096b31e7d756b236662081f836 (diff)
ma shiori: force ssl
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/gui/base.nix3
-rw-r--r--makefu/2configs/shiori.nix7
2 files changed, 7 insertions, 3 deletions
diff --git a/makefu/2configs/gui/base.nix b/makefu/2configs/gui/base.nix
index 9984856be..5b46c7e2d 100644
--- a/makefu/2configs/gui/base.nix
+++ b/makefu/2configs/gui/base.nix
@@ -11,7 +11,6 @@
# if this is not enough, check out main-laptop.nix
-with import <stockholm/lib>;
let
mainUser = config.krebs.build.user.name;
in
@@ -39,7 +38,7 @@ in
};
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
# lid switch is handled via button presses
- services.logind.lidSwitch = "ignore";
+ services.logind.lidSwitch = lib.mkDefault "ignore";
makefu.awesome.enable = true;
i18n.consoleFont = "Lat2-Terminus16";
diff --git a/makefu/2configs/shiori.nix b/makefu/2configs/shiori.nix
index 539d11f87..fd6bc9aad 100644
--- a/makefu/2configs/shiori.nix
+++ b/makefu/2configs/shiori.nix
@@ -18,7 +18,12 @@ in {
PrivateTmp = true;
};
};
- services.nginx.virtualHosts."bookmark.euer.krebsco.de".locations."/" = {
+ services.nginx.virtualHosts."bookmark.euer.krebsco.de" = {
+ forceSSL = true;
+ enableACME = true;
+
+ locations."/" = {
proxyPass = "http://127.0.0.1:${toString web_port}/";
};
+ };
}