diff --git a/hosts/server3/hardware-configuration.nix b/hosts/server3/hardware-configuration.nix index 1e19282..6b91ece 100644 --- a/hosts/server3/hardware-configuration.nix +++ b/hosts/server3/hardware-configuration.nix @@ -1,35 +1,39 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "ahci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "ahci"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-intel"]; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/f7b96f80-b47a-4994-b8d6-45d4ad5584c4"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/f7b96f80-b47a-4994-b8d6-45d4ad5584c4"; + fsType = "ext4"; + }; - fileSystems."/home/synchronous/.agenix/agenix.d" = - { device = "none"; - fsType = "ramfs"; - }; + fileSystems."/home/synchronous/.agenix/agenix.d" = { + device = "none"; + fsType = "ramfs"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/7EFB-314B"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/7EFB-314B"; + fsType = "vfat"; + options = ["fmask=0077" "dmask=0077"]; + }; - swapDevices = [ ]; + swapDevices = []; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; diff --git a/system/system.nix b/system/system.nix index 0b657f5..e779ff1 100644 --- a/system/system.nix +++ b/system/system.nix @@ -40,6 +40,8 @@ liveRestore = false; }; + programs.nix-ld.enable = true; + virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; services.udisks2.enable = true;