mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
45 lines
843 B
Nix
45 lines
843 B
Nix
{ lib, minimal, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
];
|
|
|
|
boot = {
|
|
loader.systemd-boot.enable = true;
|
|
tmp.cleanOnBoot = true;
|
|
};
|
|
|
|
networking = {
|
|
nftables.enable = lib.mkForce false;
|
|
hostName = "milkywell";
|
|
enableIPv6 = true;
|
|
domain = "subnet03112148.vcn03112148.oraclevcn.com";
|
|
};
|
|
|
|
topology.self = {
|
|
icon = "devices.cloud-server";
|
|
};
|
|
|
|
hardware = {
|
|
enableAllFirmware = lib.mkForce false;
|
|
};
|
|
|
|
swarselprofiles = {
|
|
minimal = lib.mkIf minimal true;
|
|
server.syncserver = true;
|
|
};
|
|
swarselsystems = {
|
|
info = "VM.Standard.E2.1.Micro";
|
|
isImpermanence = true;
|
|
isSecureBoot = false;
|
|
isCrypted = true;
|
|
isSwap = true;
|
|
rootDisk = "/dev/sda";
|
|
swapSize = "4G";
|
|
isBtrfs = true;
|
|
isLinux = true;
|
|
isNixos = true;
|
|
};
|
|
|
|
}
|