Skip to content

Commit 4c2c796

Browse files
authoredFeb 17, 2024
Hardware tweaks (#87)
1 parent 2dadc0c commit 4c2c796

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed
 

‎system/pilsen/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ inputs, outputs, config, ... }: {
1+
{ inputs, outputs, lib, config, ... }: {
22
imports = [
33
inputs.hardware.nixosModules.common-cpu-intel
44
inputs.hardware.nixosModules.common-gpu-intel
@@ -18,6 +18,15 @@
1818
};
1919
};
2020

21+
services = {
22+
fwupd = {
23+
enable = lib.mkDefault true;
24+
};
25+
thermald = {
26+
enable = lib.mkDefault true;
27+
};
28+
};
29+
2130
nixos = {
2231
hostName = outputs.host.name;
2332
allowedUDPPorts = [ 22000 21027 ];

‎system/zaffarano-elastic/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ inputs, outputs, config, pkgs, ... }: {
1+
{ inputs, outputs, lib, config, pkgs, ... }: {
22
imports = [
33
inputs.hardware.nixosModules.common-cpu-intel
44
inputs.hardware.nixosModules.common-gpu-intel
@@ -63,6 +63,15 @@
6363
};
6464
};
6565

66+
services = {
67+
fwupd = {
68+
enable = lib.mkDefault true;
69+
};
70+
thermald = {
71+
enable = lib.mkDefault true;
72+
};
73+
};
74+
6675
nixos = {
6776
hostName = outputs.host.name;
6877
allowedUDPPorts = [ 22000 21027 ];

0 commit comments

Comments
 (0)