{ suites, lib, profiles, ... }:
{
# TODO Consider organising as suite
imports = (with profiles; [
core
users.root
users.valts
cli.common
cli.croc
cli.imagemagick
cli.pandoc
network.common
graphical.plasma5
development.python38
]);
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sdb";
boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "pata_atiixp" "xhci_pci" "firewire_ohci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
networking.useDHCP = false;
networking.interfaces.enp4s0.useDHCP = true;
networking.interfaces.wlp3s0u2.useDHCP = true;
hardware.cpu.amd.updateMicrocode = true;
time.timeZone = "Europe/Riga";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
nix.maxJobs = lib.mkDefault 4;
}