Compare commits
No commits in common. "e74505a986b428921772ba550f4378c1f5f46b21" and "e8f897d76c821548e889823d0431d831f76f187a" have entirely different histories.
e74505a986
...
e8f897d76c
|
@ -1,28 +1,21 @@
|
||||||
{ pkgs, ... }:
|
{ ... }: {
|
||||||
let
|
|
||||||
pages = pkgs.fetchFromGitea {
|
|
||||||
domain = "git.fainsin.bzh";
|
|
||||||
owner = "Laurent";
|
|
||||||
repo = "personal-website";
|
|
||||||
rev = "pages";
|
|
||||||
sha256 = "sha256-ahx9YSKyImQDu7k6/hbgYQdAnw5yInXQ/n14CLWTVkc=";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"laurent.fainsin.bzh" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
root = "${pages}";
|
|
||||||
};
|
|
||||||
"fainsin.bzh" = {
|
"fainsin.bzh" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".return =
|
locations."/".return =
|
||||||
''301 "$scheme://laurent.fainsin.bzh$request_uri"'';
|
''301 "$scheme://laurent.fainsin.bzh$request_uri"'';
|
||||||
};
|
};
|
||||||
|
"laurent.fainsin.bzh" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
root = "/srv/www/";
|
||||||
|
};
|
||||||
default = {
|
default = {
|
||||||
default = true;
|
default = true;
|
||||||
locations."/".return = ''301 "$scheme://fainsin.bzh" '';
|
locations."/".return = ''301 "$scheme://fainsin.bzh" '';
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ hyprland, ... }: {
|
{ hyprland, ... }: {
|
||||||
config.home.stateVersion = "23.05";
|
config.home.stateVersion = "22.11";
|
||||||
imports = [
|
imports = [
|
||||||
hyprland.homeManagerModules.default
|
hyprland.homeManagerModules.default
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue