feat(web): initial configuration

This commit is contained in:
514fpv 2024-01-14 12:41:57 +08:00
parent ed18974642
commit 566b4e9be4
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 108 additions and 0 deletions

18
spec/web/default.nix Normal file
View file

@ -0,0 +1,18 @@
{ lib
, ... }: {
global = {
id = "63795fdf54e048dcbefcbc525ec3779d";
auth.openssh.enable = true;
libvirt.enable = false;
fs.esp.uuid = "3838-0946";
fs.type = "xfs";
fs.store = "8476f738-b83b-4736-abd7-08a1943cf60a";
lowmem.enable = true;
};
imports = lib.pipe ./. [
builtins.readDir
(lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix"))
(lib.mapAttrsToList (n: _: ./${n}))
];
}