diff --git a/flake.nix b/flake.nix index 0697675..2859adb 100755 --- a/flake.nix +++ b/flake.nix @@ -132,6 +132,12 @@ inputs.nixpkgs.follows = "pi4-nixpkgs"; }; + pi4-argononed = { + url = "gitlab:ykis-0-0/argononed/feat/nixos"; + flake = false; + }; + + ##################################################### # Steamdeck # ##################################################### @@ -236,6 +242,7 @@ # Pi4 pi4-nixpkgs, + pi4-argononed, pi4-home-manager, pi4-impermanence, pi4-nixos-hardware, diff --git a/hosts/pi4/argononed.nix b/hosts/pi4/argononed.nix new file mode 100644 index 0000000..95886ae --- /dev/null +++ b/hosts/pi4/argononed.nix @@ -0,0 +1,15 @@ +{ argononed, ... }: +{ + imports = [ "${argononed}/OS/nixos" ]; + + services.argonone = { + enable = true; + logLevel = 4; + settings = { + fanTemp0 = 36; fanSpeed0 = 10; + fanTemp1 = 41; fanSpeed1 = 50; + fanTemp2 = 46; fanSpeed2 = 80; + hysteresis = 4; + }; + }; +} \ No newline at end of file diff --git a/hosts/pi4/configuration.nix b/hosts/pi4/configuration.nix index 370765d..e83c869 100755 --- a/hosts/pi4/configuration.nix +++ b/hosts/pi4/configuration.nix @@ -17,6 +17,7 @@ in imports = [ # Include the results of the hardware scan. ./adguard.nix + ./argononed.nix ./boot.nix ./hardware-configuration.nix ./impermanence.nix