diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-22 11:18:28 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-22 11:18:28 -0800 |
commit | f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da (patch) | |
tree | ee12c6f87b7fa63231ccb9ad33395941d4887294 | |
parent | 6ee7845d25c0c6e5421d323ffaf8656734f499b2 (diff) | |
download | nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.gz nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.bz2 nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.lz nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.xz nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.zst nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.zip |
Add tlp for planets
Diffstat (limited to '')
-rw-r--r-- | hosts/common/optional/services/tlp.nix | 9 | ||||
-rw-r--r-- | hosts/jupiter/default.nix | 1 | ||||
-rw-r--r-- | hosts/neptune/default.nix | 1 | ||||
-rw-r--r-- | hosts/saturn/default.nix | 1 | ||||
-rw-r--r-- | hosts/uranus/default.nix | 1 |
5 files changed, 13 insertions, 0 deletions
diff --git a/hosts/common/optional/services/tlp.nix b/hosts/common/optional/services/tlp.nix new file mode 100644 index 0000000..967f197 --- /dev/null +++ b/hosts/common/optional/services/tlp.nix @@ -0,0 +1,9 @@ +{ + services.tlp = { + enable = true; + settings = { + START_CHARGE_THRESH_BAT0 = 40; + STOP_CHARGE_THRESH_BAT0 = 50; + }; + }; +} diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix index 412342b..2486fb1 100644 --- a/hosts/jupiter/default.nix +++ b/hosts/jupiter/default.nix @@ -25,6 +25,7 @@ ../common/optional/services/fwupd.nix ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix + ../common/optional/services/tlp.nix ../common/optional/zfs.nix ../common/users/nipsy ../common/users/root diff --git a/hosts/neptune/default.nix b/hosts/neptune/default.nix index 02453e7..df17c49 100644 --- a/hosts/neptune/default.nix +++ b/hosts/neptune/default.nix @@ -25,6 +25,7 @@ ../common/optional/services/fwupd.nix ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix + ../common/optional/services/tlp.nix ../common/optional/zfs.nix ../common/users/nipsy ../common/users/root diff --git a/hosts/saturn/default.nix b/hosts/saturn/default.nix index b05fc8a..10e199d 100644 --- a/hosts/saturn/default.nix +++ b/hosts/saturn/default.nix @@ -25,6 +25,7 @@ ../common/optional/services/fwupd.nix ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix + ../common/optional/services/tlp.nix ../common/optional/zfs.nix ../common/users/nipsy ../common/users/root diff --git a/hosts/uranus/default.nix b/hosts/uranus/default.nix index 0f0dd48..2256bc9 100644 --- a/hosts/uranus/default.nix +++ b/hosts/uranus/default.nix @@ -25,6 +25,7 @@ ../common/optional/services/fwupd.nix ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix + ../common/optional/services/tlp.nix ../common/optional/zfs.nix ../common/users/nipsy ../common/users/root |