summaryrefslogtreecommitdiff
path: root/nixos/hardware/hardware-configuration.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2023-12-20 15:01:34 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2023-12-20 15:04:39 +0100
commit6a718ca63338f13b2ae1ddf4b9d73d790c6a29d2 (patch)
treee744b93c3f44911fcc8c837e43b9803b85f36475 /nixos/hardware/hardware-configuration.nix
parent28b72fa8565a80defc6eec8bb9eecd21691753ac (diff)
format nix files
Diffstat (limited to 'nixos/hardware/hardware-configuration.nix')
-rw-r--r--nixos/hardware/hardware-configuration.nix23
1 files changed, 12 insertions, 11 deletions
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