mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
36 lines
643 B
Nix
36 lines
643 B
Nix
{ lib, minimal, ... }:
|
|
{
|
|
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
];
|
|
|
|
swarselsystems = {
|
|
info = "HUNSN RM02, 8GB RAM";
|
|
flakePath = "/root/.dotfiles";
|
|
isImpermanence = true;
|
|
isSecureBoot = true;
|
|
isCrypted = true;
|
|
isBtrfs = true;
|
|
isLinux = true;
|
|
isNixos = true;
|
|
rootDisk = "/dev/sda";
|
|
swapSize = "8G";
|
|
networkKernelModules = [ "igb" ];
|
|
};
|
|
|
|
} // lib.optionalAttrs (!minimal) {
|
|
|
|
swarselprofiles = {
|
|
server = true;
|
|
router = false;
|
|
};
|
|
|
|
swarselmodules = {
|
|
server = {
|
|
nginx = lib.mkForce false; # we get this from the server profile
|
|
};
|
|
};
|
|
|
|
}
|