From 6a718ca63338f13b2ae1ddf4b9d73d790c6a29d2 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Wed, 20 Dec 2023 15:01:34 +0100 Subject: format nix files --- nixos/hardware/hardware-configuration.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'nixos/hardware/hardware-configuration.nix') diff --git a/nixos/hardware/hardware-configuration.nix b/nixos/hardware/hardware-configuration.nix index 77f7942..e876888 100644 --- a/nixos/hardware/hardware-configuration.nix +++ b/nixos/hardware/hardware-configuration.nix @@ -1,16 +1,18 @@ # 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") ]; - - boot.initrd.availableKernelModules = - [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + config, + lib, + modulesPath, + ... +}: { + imports = [(modulesPath + "/installer/scan/not-detected.nix")]; + + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc"]; + boot.initrd.kernelModules = ["dm-snapshot"]; + boot.kernelModules = ["kvm-intel"]; + boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/disk/by-uuid/f5809224-8478-474f-b25d-dde1ada37957"; @@ -27,8 +29,7 @@ fsType = "ext4"; }; - swapDevices = - [{ device = "/dev/disk/by-uuid/0cf1b50c-670c-4dc6-bb91-fc45d6148028"; }]; + swapDevices = [{device = "/dev/disk/by-uuid/0cf1b50c-670c-4dc6-bb91-fc45d6148028";}]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's -- cgit v1.2.3