dotfiles/nixos/boxes/mb1/default.nix
2023-04-14 19:02:05 +01:00

32 lines
706 B
Nix

{ config, pkgs, inputs, lib, ... }: {
imports = [
../cli.nix
./disks.nix
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
"${inputs.nixpkgs-nixos-unstable}/nixos/modules/services/misc/atuin.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";
disabledModules = [ "services/misc/atuin.nix" ];
services.atuin = {
enable = true;
openFirewall = true;
openRegistration = true;
};
}