summaryrefslogtreecommitdiff
path: root/hosts/laptop
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-04-17 12:03:46 -0500
committerChristian <[email protected]>2026-04-17 12:03:46 -0500
commitb37bb85cd72dc3aca02aaa99d944f92ce75246f2 (patch)
treebc185b306e5af248b866240dcc4771845811b760 /hosts/laptop
parent0b77660443280e0dbfccf1b55785ea6db5ac2d62 (diff)
Formatting
Diffstat (limited to 'hosts/laptop')
-rw-r--r--hosts/laptop/configuration.nix20
-rw-r--r--hosts/laptop/hardware-configuration.nix36
2 files changed, 36 insertions, 20 deletions
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 = [ ];