mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
23 lines
306 B
Nix
23 lines
306 B
Nix
{ self, lib, minimal, ... }:
|
|
{
|
|
imports = [
|
|
"${self}/profiles/nixos/microvm"
|
|
"${self}/modules/nixos"
|
|
];
|
|
|
|
swarselsystems = {
|
|
isMicroVM = true;
|
|
};
|
|
|
|
} // lib.optionalAttrs (!minimal) {
|
|
|
|
microvm = {
|
|
mem = 1024 * 1;
|
|
vcpu = 1;
|
|
};
|
|
|
|
swarselprofiles = {
|
|
microvm = true;
|
|
};
|
|
|
|
}
|