mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 05:09:09 +02:00
42 lines
680 B
Nix
42 lines
680 B
Nix
{ self, lib, minimal, ... }:
|
|
{
|
|
imports = [
|
|
"${self}/profiles/nixos/microvm"
|
|
"${self}/modules/nixos"
|
|
];
|
|
|
|
swarselsystems = {
|
|
isMicroVM = true;
|
|
isImpermanence = true;
|
|
proxyHost = "twothreetunnel";
|
|
server = {
|
|
wireguard.interfaces = {
|
|
wgHome = {
|
|
isClient = true;
|
|
serverName = "hintbooth";
|
|
};
|
|
wgProxy = {
|
|
isClient = true;
|
|
serverName = "twothreetunnel";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
} // lib.optionalAttrs (!minimal) {
|
|
|
|
microvm = {
|
|
mem = 1024 * 1;
|
|
vcpu = 1;
|
|
};
|
|
|
|
swarselprofiles = {
|
|
microvm = true;
|
|
};
|
|
|
|
swarselmodules.server = {
|
|
koillection = true;
|
|
};
|
|
|
|
}
|