Add personal website
This commit is contained in:
parent
7bbf8f5775
commit
abd98dfa42
3 changed files with 42 additions and 6 deletions
35
flake.lock
generated
35
flake.lock
generated
|
@ -262,11 +262,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1667584046,
|
"lastModified": 1667589396,
|
||||||
"narHash": "sha256-M59pWZZrrlMVqei48zKj2T2tB6BdWKenOlSOkvCO0xE=",
|
"narHash": "sha256-M5P+mnQ0/DtSm11sDBT0UQnVtmQoXJh48kL2+6SGC+8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6876ea53a8623667941553bdf4b470fc2d0a151f",
|
"rev": "ead693159674d2f1ac629539199b7e11e1eb5b70",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -289,7 +289,8 @@
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"tetris": "tetris",
|
"tetris": "tetris",
|
||||||
"utils": "utils"
|
"utils": "utils",
|
||||||
|
"www-chvp-be": "www-chvp-be"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tetris": {
|
"tetris": {
|
||||||
|
@ -337,6 +338,32 @@
|
||||||
"repo": "flake-utils-plus",
|
"repo": "flake-utils-plus",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"www-chvp-be": {
|
||||||
|
"inputs": {
|
||||||
|
"devshell": [
|
||||||
|
"devshell"
|
||||||
|
],
|
||||||
|
"flake-utils": [
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1667591467,
|
||||||
|
"narHash": "sha256-6fqb7ArwKAn5BwB+z6qEBT5rMIntQFrgcIdRngIfTSU=",
|
||||||
|
"owner": "chvp",
|
||||||
|
"repo": "www.chvp.be",
|
||||||
|
"rev": "e242f8473e364981f7f0ca5b84317f68bc1e1cdd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "chvp",
|
||||||
|
"repo": "www.chvp.be",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
11
flake.nix
11
flake.nix
|
@ -77,9 +77,17 @@
|
||||||
flake-utils.follows = "flake-utils";
|
flake-utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
www-chvp-be = {
|
||||||
|
url = "github:chvp/www.chvp.be";
|
||||||
|
inputs = {
|
||||||
|
devshell.follows = "devshell";
|
||||||
|
flake-utils.follows = "flake-utils";
|
||||||
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, accentor, accentor-api, accentor-web, agenix, devshell, emacs-overlay, flake-utils, home-manager, nixos-mailserver, nur, tetris, utils }:
|
outputs = inputs@{ self, nixpkgs, accentor, accentor-api, accentor-web, agenix, devshell, emacs-overlay, flake-utils, home-manager, nixos-mailserver, nur, tetris, utils, www-chvp-be }:
|
||||||
utils.lib.mkFlake {
|
utils.lib.mkFlake {
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
channels.nixpkgs = {
|
channels.nixpkgs = {
|
||||||
|
@ -93,6 +101,7 @@
|
||||||
tetris = tetris.packages.${self.system}.default;
|
tetris = tetris.packages.${self.system}.default;
|
||||||
})
|
})
|
||||||
nur.overlay
|
nur.overlay
|
||||||
|
www-chvp-be.overlay
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
hostDefaults = {
|
hostDefaults = {
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
fqdn = "chvp.be";
|
fqdn = "chvp.be";
|
||||||
options.locations."/".return = "307 https://www.chvp.be$request_uri";
|
options.locations."/".return = "307 https://www.chvp.be$request_uri";
|
||||||
}
|
}
|
||||||
{ fqdn = "www.chvp.be"; }
|
{ fqdn = "www.chvp.be"; options.root = pkgs."www.chvp.be"; }
|
||||||
];
|
];
|
||||||
nextcloud.enable = true;
|
nextcloud.enable = true;
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue