mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
35 lines
761 B
Nix
35 lines
761 B
Nix
{ lib, config, minimal, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
];
|
|
|
|
node.lockFromBootstrapping = lib.mkForce false;
|
|
|
|
topology.self = {
|
|
icon = "devices.cloud-server";
|
|
};
|
|
swarselmodules.server.nginx = false;
|
|
|
|
swarselsystems = {
|
|
flakePath = "/root/.dotfiles";
|
|
info = "VM.Standard.A1.Flex, 4 vCPUs, 24GB RAM";
|
|
isImpermanence = true;
|
|
isSecureBoot = false;
|
|
isCrypted = true;
|
|
isSwap = false;
|
|
rootDisk = "/dev/sda";
|
|
isBtrfs = true;
|
|
isNixos = true;
|
|
isLinux = true;
|
|
proxyHost = "belchsfactory";
|
|
server = {
|
|
inherit (config.repo.secrets.local.networking) localNetwork;
|
|
};
|
|
};
|
|
} // lib.optionalAttrs (!minimal) {
|
|
swarselprofiles = {
|
|
server = true;
|
|
};
|
|
}
|