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, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[ (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.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; 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."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/84df99b4-ba9f-418b-9b79-c015ed17ed30"; device = "/dev/disk/by-uuid/84df99b4-ba9f-418b-9b79-c015ed17ed30";
fsType = "xfs"; fsType = "xfs";
}; };
fileSystems."/var" = fileSystems."/var" = {
{ device = "/dev/disk/by-uuid/7ea116a5-b910-450b-aeeb-d006b820be92"; device = "/dev/disk/by-uuid/7ea116a5-b910-450b-aeeb-d006b820be92";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/disk/by-uuid/0c4f356b-b738-4c63-915a-ef82dd59c01e"; device = "/dev/disk/by-uuid/0c4f356b-b738-4c63-915a-ef82dd59c01e";
fsType = "btrfs"; fsType = "btrfs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/58CB-B4D3"; device = "/dev/disk/by-uuid/58CB-B4D3";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = [ { swapDevices = [{
device = "/swapfile"; device = "/swapfile";
size = 8 * 1024; size = 8 * 1024;
} ]; }];
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 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, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[ (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.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/6371008b-3551-4dd6-8429-9f1d07275c74"; device = "/dev/disk/by-uuid/6371008b-3551-4dd6-8429-9f1d07275c74";
fsType = "xfs"; fsType = "xfs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/7912-C8B9"; device = "/dev/disk/by-uuid/7912-C8B9";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
fileSystems."/var" = fileSystems."/var" = {
{ device = "/dev/disk/by-uuid/893e72c7-c904-43ea-b5ee-e1cea18b8268"; device = "/dev/disk/by-uuid/893e72c7-c904-43ea-b5ee-e1cea18b8268";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/disk/by-uuid/329a472f-945b-49da-b840-bc2fb37d2e03"; device = "/dev/disk/by-uuid/329a472f-945b-49da-b840-bc2fb37d2e03";
fsType = "btrfs"; fsType = "btrfs";
}; };
fileSystems."/mnt/inthdd" = fileSystems."/mnt/inthdd" = {
{ device = "/dev/disk/by-uuid/2f7d6ae6-acda-410e-9c02-992eb64a8c7f"; device = "/dev/disk/by-uuid/2f7d6ae6-acda-410e-9c02-992eb64a8c7f";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = [ { swapDevices = [{
device = "/swapfile"; device = "/swapfile";
size = 8 * 1024; size = 8 * 1024;
} ]; }];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 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; networking.interfaces.enp42s0.wakeOnLan.enable = true;
} }