mirror of https://git.jolheiser.com/dotnix.git
parent
3330862ce4
commit
68424be5cd
26
flake.lock
26
flake.lock
|
@ -206,7 +206,8 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-py36": "nixpkgs-py36",
|
||||
"nur": "nur",
|
||||
"tclip": "tclip"
|
||||
"tclip": "tclip",
|
||||
"website": "website"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
@ -247,6 +248,29 @@
|
|||
"repo": "tclip",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"website": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
"flake-utils"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1695536112,
|
||||
"narHash": "sha256-JjK9NnrTtSXtN5FkLoEe/M5pzShwpwYOHkUQ2horf2U=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "789d6e79164d617ebdcab3de53fc79457025edcc",
|
||||
"revCount": 6,
|
||||
"type": "git",
|
||||
"url": "https://git.jojodev.com/jolheiser/jolheiser.com"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.jojodev.com/jolheiser/jolheiser.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -28,6 +28,13 @@
|
|||
url = "git+https://git.jojodev.com/jolheiser/helix.drv";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
website = {
|
||||
url = "git+https://git.jojodev.com/jolheiser/jolheiser.com";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-utils.follows = "flake-utils";
|
||||
};
|
||||
};
|
||||
|
||||
# Other flakes
|
||||
golink = {
|
||||
|
@ -53,6 +60,7 @@
|
|||
agenix,
|
||||
jolheiser-nur,
|
||||
helix,
|
||||
website,
|
||||
nixpkgs-py36,
|
||||
golink,
|
||||
tclip,
|
||||
|
@ -67,6 +75,7 @@
|
|||
jolheiser = inputs.jolheiser-nur.packages.${prev.system};
|
||||
tclip = inputs.tclip.packages.${prev.system}.tclip;
|
||||
jolheiser-helix = inputs.helix.packages.${prev.system}.default;
|
||||
jolheiser-website = inputs.website.packages.${prev.system}.default;
|
||||
})
|
||||
golink.overlay
|
||||
];
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{lib, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
packages = ["tmpl" "git-age" "ffmd"];
|
||||
in {
|
||||
services.caddy = {
|
||||
|
@ -23,7 +27,7 @@ in {
|
|||
file_server
|
||||
}
|
||||
handle {
|
||||
root * /srv/jolheiser.com/dist
|
||||
root * ${pkgs.jolheiser-website}
|
||||
file_server
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue