stuebinm
eb07f34672
idea is to have a directory `websites/` which contains all our static sites, with the name of each subdirectory also being their domain. Then Nix can just read that directory during build-time and automatically generate nginx virtualHosts for all of them (note that the subdirectories have to contain a `default.nix` specifying how to build the site for that to work). Thus we could avoid the dependency on gitlab pages.
17 lines
422 B
Nix
17 lines
422 B
Nix
{ ... }:
|
|
let
|
|
sources = import ../nix/sources.nix;
|
|
in {
|
|
imports = [
|
|
./nftnat
|
|
./decklink.nix
|
|
./websites.nix
|
|
"${sources.nixpkgs-unstable}/nixos/modules/services/security/vaultwarden"
|
|
];
|
|
|
|
# disabled since vaultwarden defines a dummy bitwarden_rs option that
|
|
# shows a deprication warning, which conflicts with this module
|
|
disabledModules = [
|
|
"services/security/bitwarden_rs/default.nix"
|
|
];
|
|
}
|