dotfiles/nixos/boxes/mb1/default.nix

24 lines
477 B
Nix
Raw Normal View History

2023-04-07 11:34:18 +01:00
{ config, pkgs, inputs, lib, ... }: {
imports = [
../cli.nix
./disks.nix
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
];
networking.hostName = "mb1";
environment.systemPackages = with pkgs; [ ];
boot.loader.grub = {
devices = [ "/dev/vda" ];
efiSupport = true;
efiInstallAsRemovable = true;
};
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 80;
};
time.timeZone = "Europe/London";
}