about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 17:50:50 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 17:50:50 -0700
commit80b2a5ed2cf30c66ec75480c24c53c7b329c3381 (patch)
tree11c574af791e9a71ec39b03ffa682b58584bf796 /hosts
parentprofiles/default: move default packages there (diff)
downloadworld-80b2a5ed2cf30c66ec75480c24c53c7b329c3381.tar.gz
profiles/hardware: create a few profiles related to hardware
Diffstat (limited to 'hosts')
-rw-r--r--hosts/aptos/default.nix1
-rw-r--r--hosts/aptos/hardware.nix3
-rw-r--r--hosts/aptos/networking.nix1
-rw-r--r--hosts/carmel/default.nix1
-rw-r--r--hosts/carmel/hardware.nix3
-rw-r--r--hosts/tahoe/default.nix1
-rw-r--r--hosts/tahoe/hardware.nix2
7 files changed, 3 insertions, 9 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 49d4c14..3ae3f86 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -7,6 +7,7 @@
     ./services.nix
     "${self}/profiles/workstation.nix"
     "${self}/profiles/laptop.nix"
+    "${self}/profiles/hardware/xps9300.nix"
   ];
 
   # install and configure sway
diff --git a/hosts/aptos/hardware.nix b/hosts/aptos/hardware.nix
index 4635e69..d6a2d32 100644
--- a/hosts/aptos/hardware.nix
+++ b/hosts/aptos/hardware.nix
@@ -41,9 +41,6 @@
   swapDevices =
     [{ device = "/dev/disk/by-uuid/24041034-ff39-44bf-a04c-8fd8318b554d"; }];
 
-  my.hardware.intel.enable = true;
-  my.hardware.bluetooth.enable = true;
-
   my.systems.btrfs.enable = true;
 
   powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
diff --git a/hosts/aptos/networking.nix b/hosts/aptos/networking.nix
index 111fbe7..b157ec5 100644
--- a/hosts/aptos/networking.nix
+++ b/hosts/aptos/networking.nix
@@ -33,6 +33,5 @@
     dnssec = "false";
   };
 
-  my.hardware.networking.wireless.enable = true;
   my.services.tailscale.enable = true;
 }
diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix
index cbad04d..c9915d2 100644
--- a/hosts/carmel/default.nix
+++ b/hosts/carmel/default.nix
@@ -7,6 +7,7 @@
     ./networking.nix
     ./services.nix
     "${self}/profiles/server.nix"
+    "${self}/profiles/hardware/amd.nix"
   ];
 
   # This value determines the NixOS release from which the default
diff --git a/hosts/carmel/hardware.nix b/hosts/carmel/hardware.nix
index 94ece14..984f571 100644
--- a/hosts/carmel/hardware.nix
+++ b/hosts/carmel/hardware.nix
@@ -24,8 +24,5 @@
     };
 
   swapDevices = [ ];
-
-  my.hardware.amd.enable = true;
-
   powerManagement.cpuFreqGovernor = "schedutil";
 }
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix
index 4b0408b..e3d95a3 100644
--- a/hosts/tahoe/default.nix
+++ b/hosts/tahoe/default.nix
@@ -9,6 +9,7 @@ in
     ./networking.nix
     ./services.nix
     "${self}/profiles/server.nix"
+    "${self}/profiles/hardware/amd.nix"
   ];
 
   users.groups.nas.gid = 5000;
diff --git a/hosts/tahoe/hardware.nix b/hosts/tahoe/hardware.nix
index dbfffff..e81fca4 100644
--- a/hosts/tahoe/hardware.nix
+++ b/hosts/tahoe/hardware.nix
@@ -60,8 +60,6 @@
   swapDevices =
     [{ device = "/dev/disk/by-uuid/0f54b5ab-4fca-4c5a-a9eb-622553145163"; }];
 
-  my.hardware.amd.enable = true;
-
   my.systems.btrfs.enable = true;
 
   # high-resolution display