summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-04-09 21:06:38 +0200
committerAlan Pearce2024-04-09 21:06:38 +0200
commit8008288a089315b056c2d8907ce4a6d2b19a3cad (patch)
treef817241677241e813c36d17a5986b88920552ebb /system
parent10e41ec96f7792ad50ba162bf97ae189fd01623c (diff)
downloadnixfiles-8008288a089315b056c2d8907ce4a6d2b19a3cad.tar.lz
nixfiles-8008288a089315b056c2d8907ce4a6d2b19a3cad.tar.zst
nixfiles-8008288a089315b056c2d8907ce4a6d2b19a3cad.zip
hoist nixos-hardware imports to flake.nix
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index fa57ef36..d3e1359e 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -1,13 +1,8 @@
 { config
 , pkgs
-, nixos-hardware
 , ...
 }: {
   imports = [
-    (nixos-hardware + "/common/pc/ssd")
-    (nixos-hardware + "/common/cpu/amd")
-    (nixos-hardware + "/common/cpu/amd/pstate.nix")
-
     ./settings/base.nix
     ./settings/configuration/berlin.nix
     ./settings/configuration/british-english.nix
@@ -31,6 +26,8 @@
     ./settings/gaming.nix
   ];
 
+  nixpkgs.hostPlatform = "x86_64-linux";
+
   services.xserver.screenSection = ''
     Option "MetaModes" "2560x1440_165 +0+0 { ForceCompositionPipeline=On }"
   '';