style: format all

This commit is contained in:
Ahurac 2024-10-07 14:21:31 +02:00
parent 5e24ebae7e
commit f6a59edbed
2 changed files with 54 additions and 53 deletions

View file

@ -1,45 +1,46 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.luks.devices.crypted.device = "/dev/disk/by-uuid/6ee3bc81-e827-4b53-9655-8acff61dc369";
boot.initrd.luks.devices.crypted.device =
"/dev/disk/by-uuid/6ee3bc81-e827-4b53-9655-8acff61dc369";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/84df99b4-ba9f-418b-9b79-c015ed17ed30";
fileSystems."/" = {
device = "/dev/disk/by-uuid/84df99b4-ba9f-418b-9b79-c015ed17ed30";
fsType = "xfs";
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/7ea116a5-b910-450b-aeeb-d006b820be92";
fileSystems."/var" = {
device = "/dev/disk/by-uuid/7ea116a5-b910-450b-aeeb-d006b820be92";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/0c4f356b-b738-4c63-915a-ef82dd59c01e";
fileSystems."/home" = {
device = "/dev/disk/by-uuid/0c4f356b-b738-4c63-915a-ef82dd59c01e";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/58CB-B4D3";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/58CB-B4D3";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ {
swapDevices = [{
device = "/swapfile";
size = 8 * 1024;
} ];
}];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,48 +1,48 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/6371008b-3551-4dd6-8429-9f1d07275c74";
fileSystems."/" = {
device = "/dev/disk/by-uuid/6371008b-3551-4dd6-8429-9f1d07275c74";
fsType = "xfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/7912-C8B9";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/7912-C8B9";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/893e72c7-c904-43ea-b5ee-e1cea18b8268";
fileSystems."/var" = {
device = "/dev/disk/by-uuid/893e72c7-c904-43ea-b5ee-e1cea18b8268";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/329a472f-945b-49da-b840-bc2fb37d2e03";
fileSystems."/home" = {
device = "/dev/disk/by-uuid/329a472f-945b-49da-b840-bc2fb37d2e03";
fsType = "btrfs";
};
fileSystems."/mnt/inthdd" =
{ device = "/dev/disk/by-uuid/2f7d6ae6-acda-410e-9c02-992eb64a8c7f";
fileSystems."/mnt/inthdd" = {
device = "/dev/disk/by-uuid/2f7d6ae6-acda-410e-9c02-992eb64a8c7f";
fsType = "ext4";
};
swapDevices = [ {
swapDevices = [{
device = "/swapfile";
size = 8 * 1024;
} ];
}];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.interfaces.enp42s0.wakeOnLan.enable = true;
}