From d94d620d2f393e274676a619b8a56f97f0ed7524 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 26 Jun 2025 13:26:37 -0400 Subject: make system config more modular --- hosts/kaworu/default.nix | 4 ++++ hosts/kaworu/hardware.nix | 4 ---- hosts/shinji/default.nix | 5 +++++ hosts/shinji/hardware.nix | 4 ---- hosts/thinkpad/default.nix | 5 +++++ hosts/thinkpad/hardware.nix | 4 ---- hosts/wsl/default.nix | 9 +++++---- 7 files changed, 19 insertions(+), 16 deletions(-) (limited to 'hosts') diff --git a/hosts/kaworu/default.nix b/hosts/kaworu/default.nix index 8b7e089..c9a2361 100644 --- a/hosts/kaworu/default.nix +++ b/hosts/kaworu/default.nix @@ -39,4 +39,8 @@ terminal = { kitty = true; }; + + # modules + bluetooth = true; + network = true; } diff --git a/hosts/kaworu/hardware.nix b/hosts/kaworu/hardware.nix index b236890..8b49109 100644 --- a/hosts/kaworu/hardware.nix +++ b/hosts/kaworu/hardware.nix @@ -1,8 +1,4 @@ {...}: { - # hardware - hardware.graphics.enable = true; - hardware.bluetooth.enable = true; - # bootloader boot.loader.systemd-boot.enable = true; boot.loader.efi = { diff --git a/hosts/shinji/default.nix b/hosts/shinji/default.nix index 5c39012..4d7f434 100644 --- a/hosts/shinji/default.nix +++ b/hosts/shinji/default.nix @@ -62,4 +62,9 @@ terminal = { kitty = true; }; + + # modules + battery = true; + bluetooth = true; + network = true; } diff --git a/hosts/shinji/hardware.nix b/hosts/shinji/hardware.nix index 65db35d..edf7733 100644 --- a/hosts/shinji/hardware.nix +++ b/hosts/shinji/hardware.nix @@ -1,8 +1,4 @@ {...}: { - # hardware - hardware.graphics.enable = true; - hardware.bluetooth.enable = true; - # bootloader boot.loader.systemd-boot.enable = true; boot.loader.efi = { diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 4d764c0..b2986ba 100644 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -33,4 +33,9 @@ terminal = { kitty = true; }; + + # modules + battery = true; + bluetooth = true; + network = true; } diff --git a/hosts/thinkpad/hardware.nix b/hosts/thinkpad/hardware.nix index 61948b4..95f9ffd 100644 --- a/hosts/thinkpad/hardware.nix +++ b/hosts/thinkpad/hardware.nix @@ -1,8 +1,4 @@ {...}: { - # hardware - hardware.graphics.enable = true; - hardware.bluetooth.enable = true; - # bootloader boot.loader.systemd-boot.enable = true; boot.loader.efi = { diff --git a/hosts/wsl/default.nix b/hosts/wsl/default.nix index 2dc86c4..3c60f14 100644 --- a/hosts/wsl/default.nix +++ b/hosts/wsl/default.nix @@ -18,10 +18,11 @@ # packages environment.systemPackages = with pkgs; [ - (python3.withPackages (ppkgs: with ppkgs; [ - myst-parser - sphinx - ])) + (python3.withPackages (ppkgs: + with ppkgs; [ + myst-parser + sphinx + ])) gnumake texliveFull inputs.self.packages.${system}.arcanist -- cgit v1.2.3-freya