Added personal website
This commit is contained in:
parent
a2878180cf
commit
ceb7ee5826
6 changed files with 42 additions and 1 deletions
23
flake.lock
generated
23
flake.lock
generated
|
|
@ -1774,7 +1774,8 @@
|
|||
"snowfall-lib": "snowfall-lib_3",
|
||||
"sops-nix": "sops-nix",
|
||||
"stylix": "stylix",
|
||||
"unstable": "unstable"
|
||||
"unstable": "unstable",
|
||||
"website": "website"
|
||||
}
|
||||
},
|
||||
"rose-pine-hyprcursor": {
|
||||
|
|
@ -2294,6 +2295,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"website": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761154225,
|
||||
"narHash": "sha256-4lCcz/jeGzhvnH3LAv3Y2EEili9JCYQ+Gn7DFpv/tpE=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "2018d7aab68e79a4a3eaf1fe7288b8966d91b2db",
|
||||
"revCount": 9,
|
||||
"type": "git",
|
||||
"url": "https://git.kylekrein.com/kylekrein/website.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.kylekrein.com/kylekrein/website.git"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
|
|||
|
|
@ -99,6 +99,10 @@
|
|||
url = "github:Sveske-Juice/declarative-jellyfin";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
website = {
|
||||
url = "git+https://git.kylekrein.com/kylekrein/website.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
BIN
homes/x86_64-linux/kylekrein/niri/wallpapers/i-use-nixos-btw.png
Normal file
BIN
homes/x86_64-linux/kylekrein/niri/wallpapers/i-use-nixos-btw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
|
|
@ -51,6 +51,7 @@ in {
|
|||
}) [
|
||||
"kylekrein.com"
|
||||
"*.kylekrein.com"
|
||||
"alexanderlebedev.com"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
matrixLocations = {
|
||||
|
|
@ -94,6 +95,20 @@ in {
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
"alexanderlebedev.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
root = inputs.website.packages.${pkgs.system}.website;
|
||||
extraConfig = ''
|
||||
if ($request_uri ~ ^/(.*)\\.html(\?|$)) {
|
||||
return 302 /$1$is_args$args;
|
||||
}
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
'';
|
||||
};
|
||||
};
|
||||
# https://github.com/NixOS/nixpkgs/issues/218878#issuecomment-2471223335
|
||||
"collabora.kylekrein.com" = {
|
||||
enableACME = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue