From b37bb85cd72dc3aca02aaa99d944f92ce75246f2 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 17 Apr 2026 12:03:46 -0500 Subject: Formatting --- hosts/laptop/configuration.nix | 20 +++++++++++------- hosts/laptop/hardware-configuration.nix | 36 +++++++++++++++++++++------------ 2 files changed, 36 insertions(+), 20 deletions(-) (limited to 'hosts/laptop') diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index edc7306..87cd2a3 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -1,11 +1,17 @@ -{ config, lib, pkgs, inputs, ... }: +{ + config, + lib, + pkgs, + inputs, + ... +}: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ../../modules/common.nix - ]; + imports = [ + # Include the results of the hardware scan. + ./hardware-configuration.nix + ../../modules/common.nix + ]; boot.loader.grub = { enable = true; @@ -18,7 +24,7 @@ networking.hostName = "laptop"; networking.wireless.iwd.enable = true; networking.wireless.iwd.settings = { - General.EnableNetworkConfiguration = true; + General.EnableNetworkConfiguration = true; }; networking.nameservers = [ "1.1.1.1" diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 291f635..6ad14c8 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -1,27 +1,37 @@ # 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, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "nvme" + "rtsx_pci_sdmmc" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/56ae0488-d952-41d8-8128-60a46e979d91"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/56ae0488-d952-41d8-8128-60a46e979d91"; + fsType = "ext4"; + }; - fileSystems."/boot/efi" = - { device = "/dev/disk/by-label/ESP"; - fsType = "vfat"; - }; + fileSystems."/boot/efi" = { + device = "/dev/disk/by-label/ESP"; + fsType = "vfat"; + }; swapDevices = [ ]; -- cgit v1.2.3