mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
41 lines
745 B
Nix
41 lines
745 B
Nix
{ self, lib, minimal, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
|
|
"${self}/modules/nixos/optional/systemd-networkd-server.nix"
|
|
];
|
|
|
|
topology.self = {
|
|
icon = "devices.cloud-server";
|
|
};
|
|
|
|
|
|
swarselsystems = {
|
|
flakePath = "/root/.dotfiles";
|
|
info = "2vCPU, 4GB Ram";
|
|
isImpermanence = true;
|
|
isSecureBoot = false;
|
|
isCrypted = true;
|
|
isCloud = true;
|
|
isSwap = true;
|
|
swapSize = "4G";
|
|
rootDisk = "/dev/sda";
|
|
isBtrfs = true;
|
|
isNixos = true;
|
|
isLinux = true;
|
|
proxyHost = "eagleland";
|
|
};
|
|
} // lib.optionalAttrs (!minimal) {
|
|
|
|
swarselmodules.server = {
|
|
mailserver = true;
|
|
dns-hostrecord = true;
|
|
};
|
|
|
|
swarselprofiles = {
|
|
server = true;
|
|
};
|
|
|
|
}
|