nixdots/hosts/vbox_nix/default.nix
2024-03-23 21:48:54 +01:00

31 lines
621 B
Nix

{ lib, pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];
nix.settings = {
max-jobs = 6;
cores = 6;
};
security.sudo.package = pkgs.sudo.override { withInsults = true; };
security.polkit.enable = true;
services = {
udisks2.enable = true;
};
# NixOS release from which this machine was first installed.
# (for stateful data, like file locations and db versions)
# Leave this alone!
system.stateVersion = lib.mkForce "23.11";
myOptions = {
system = {
hostname = "vboxnix";
username = "itsdrike";
};
device = {
cpu.type = "vm-amd";
};
};
}