2023-01-17 13:45:37 +01:00
|
|
|
{ nixos-hardware, disko, ... }:
|
|
|
|
{ modulesPath, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
2023-01-17 14:06:47 +01:00
|
|
|
"${modulesPath}/virtualisation/qemu-guest-agent.nix"
|
2023-01-17 13:45:37 +01:00
|
|
|
|
|
|
|
nixos-hardware.nixosModules.common-cpu-intel
|
|
|
|
nixos-hardware.nixosModules.common-pc-ssd
|
|
|
|
|
|
|
|
disko.nixosModules.disko
|
|
|
|
|
|
|
|
./storage.nix
|
2023-01-17 14:09:13 +01:00
|
|
|
../../users/erwin
|
|
|
|
../../users/root
|
2023-01-17 13:45:37 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
eboskma = {
|
|
|
|
users.erwin = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
base = {
|
|
|
|
plymouth.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nix-common = {
|
|
|
|
enable = true;
|
|
|
|
remote-builders = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# libvirt.enable = true;
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "odin";
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 10;
|
|
|
|
};
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
initrd = {
|
2023-01-17 15:53:06 +01:00
|
|
|
availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "" ];
|
2023-01-17 13:45:37 +01:00
|
|
|
kernelModules = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.enableAllFirmware = true;
|
|
|
|
|
|
|
|
services.qemuGuest = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-01-17 15:53:06 +01:00
|
|
|
|
|
|
|
services.lvm = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
2023-01-17 13:45:37 +01:00
|
|
|
}
|