diff options
author | Soispha <soispha@vhack.eu> | 2023-07-29 16:16:07 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-29 16:16:07 +0200 |
commit | 92a9e22021291c2335d90804fbb4c2dbea0b24af (patch) | |
tree | 186be328872d9616dd6c28969eca7ecb36d498f5 | |
parent | Fix(hosts/isimud): Import the whole system configuration (diff) | |
download | nixos-config-92a9e22021291c2335d90804fbb4c2dbea0b24af.tar.gz nixos-config-92a9e22021291c2335d90804fbb4c2dbea0b24af.zip |
Style(treewide): Remove some unused imports
-rw-r--r-- | flake/nixosConfigurations/default.nix | 2 | ||||
-rw-r--r-- | hosts/tiamat/hardware/cpu.nix | 2 | ||||
-rw-r--r-- | hosts/tiamat/hardware/gpu.nix | 7 |
3 files changed, 3 insertions, 8 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index 79f9831a..198d9c73 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -39,7 +39,7 @@ ++ defaultModules; }; }; - # FIXME; These need to stay in this position for the install script + # FIXME: These need to stay in this position for the install script hosts = ["tiamat" "apzu"]; inactiveHosts = ["mammun" "lahmu"]; diff --git a/hosts/tiamat/hardware/cpu.nix b/hosts/tiamat/hardware/cpu.nix index 2d7232cd..00ba588d 100644 --- a/hosts/tiamat/hardware/cpu.nix +++ b/hosts/tiamat/hardware/cpu.nix @@ -1,4 +1,4 @@ -{config, ...}: { +{...}: { powerManagement.cpuFreqGovernor = "powersave"; hardware.cpu.amd.updateMicrocode = true; # Why not? } diff --git a/hosts/tiamat/hardware/gpu.nix b/hosts/tiamat/hardware/gpu.nix index 8d1c077b..403c6f65 100644 --- a/hosts/tiamat/hardware/gpu.nix +++ b/hosts/tiamat/hardware/gpu.nix @@ -1,9 +1,4 @@ -{ - config, - pkgs, - lib, - ... -}: { +{pkgs, ...}: { # hardware.opengl.extraPackages = with pkgs; [ # rocm-opencl-icd # open-cl # amdvlk # or directly through mesa |