Update website

This commit is contained in:
Tim Schubert 2023-11-13 21:57:02 +01:00
parent 1ab59d7994
commit 6d25719a61
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0
4 changed files with 5 additions and 27 deletions

23
flake.lock generated
View file

@ -235,12 +235,7 @@
}
},
"homePage": {
"inputs": {
"hugo-theme-anubis": "hugo-theme-anubis",
"nixpkgs": [
"nixpkgs"
]
},
"flake": false,
"locked": {
"lastModified": 1699795243,
"narHash": "sha256-rBonL9sYcTX5db1PehLVbaf9cFJWB6n4vv522IG1n70=",
@ -255,22 +250,6 @@
"type": "github"
}
},
"hugo-theme-anubis": {
"flake": false,
"locked": {
"lastModified": 1693734155,
"narHash": "sha256-/saWnt2ryheBvW9aHqpjAE4aNBhEhkrD62Ch8CI2GvM=",
"owner": "mitrichius",
"repo": "hugo-theme-anubis",
"rev": "e4e2c0bc4145ee152a32fdd940ed398ab0b77e6c",
"type": "github"
},
"original": {
"owner": "mitrichius",
"repo": "hugo-theme-anubis",
"type": "github"
}
},
"jujutsu": {
"inputs": {
"flake-utils": [

View file

@ -14,7 +14,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
homePage = {
url = "github:dadada/dadada.li";
inputs.nixpkgs.follows = "nixpkgs";
flake = false;
};
recipemd = {
url = "github:dadada/recipemd/nix-flake";

View file

@ -57,7 +57,7 @@ in
system = "x86_64-linux";
extraModules = [
{
dadada.homePage.package = homePage.packages.${system}.homePage;
dadada.homePage.package = homePage;
}
./modules/profiles/server.nix
./surgat/configuration.nix

View file

@ -1,5 +1,4 @@
{ config
, pkgs
, lib
, ...
}:
@ -10,8 +9,8 @@ with lib; {
options.dadada.homePage = {
enable = mkEnableOption "Enable home page";
package = mkOption {
type = lib.types.package;
description = "Package containing the homepage";
type = lib.types.path;
description = "Path containing the homepage";
};
};
config = mkIf cfg.enable {