2024-08-05 17:17:33 +03:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
networking.hostName = "nixos";
|
|
|
|
|
|
|
|
imports = [ ../base.nix ];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-08-05 18:22:23 +03:00
|
|
|
|
|
|
|
#Many installs will need this, and it won't hurt either way
|
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
|
2024-08-07 15:51:07 +03:00
|
|
|
#Prevent user from being locked out of the system before switching to proper config
|
|
|
|
users.mutableUsers = pkgs.lib.mkForce true;
|
|
|
|
|
2024-08-05 18:22:23 +03:00
|
|
|
swapDevices = [
|
|
|
|
{
|
|
|
|
device = "/var/lib/swapfile";
|
|
|
|
size = 8 * 1024;
|
|
|
|
}
|
|
|
|
];
|
2024-08-05 17:17:33 +03:00
|
|
|
}
|