From cbd73c74669fadc7fc192f71df91788acc29ed17 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Wed, 7 Feb 2024 11:15:16 +0100 Subject: [PATCH] shift illum serivce around and enable on x13s --- nix/os/devices/steveej-x13s/configuration.nix | 5 ++++- nix/os/profiles/graphical/system.nix | 1 - nix/os/profiles/removable-medium/system.nix | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nix/os/devices/steveej-x13s/configuration.nix b/nix/os/devices/steveej-x13s/configuration.nix index d0a9982..e45fc83 100644 --- a/nix/os/devices/steveej-x13s/configuration.nix +++ b/nix/os/devices/steveej-x13s/configuration.nix @@ -16,6 +16,8 @@ bluetoothMac = "65:9e:7a:8b:86:28"; }; + services.illum.enable = true; + systemd.services.bluetooth-mac = { enable = true; path = [ @@ -133,8 +135,9 @@ }; # see https://linrunner.de/tlp/ + # TODO: find an equivalent to tlp that supports this machine services.tlp = { - enable = true; + enable = false; settings = { START_CHARGE_THRESH_BAT0 = "80"; STOP_CHARGE_THRESH_BAT0 = "85"; diff --git a/nix/os/profiles/graphical/system.nix b/nix/os/profiles/graphical/system.nix index 4e68144..a90c1e8 100644 --- a/nix/os/profiles/graphical/system.nix +++ b/nix/os/profiles/graphical/system.nix @@ -22,7 +22,6 @@ services.resolved.enable = true; # hardware related services - services.illum.enable = true; services.pcscd.enable = true; hardware.opengl.enable = true; diff --git a/nix/os/profiles/removable-medium/system.nix b/nix/os/profiles/removable-medium/system.nix index 10a18ef..7586a85 100644 --- a/nix/os/profiles/removable-medium/system.nix +++ b/nix/os/profiles/removable-medium/system.nix @@ -5,6 +5,8 @@ ... }: let in { + services.illum.enable = true; + services.printing = {enable = false;}; services.spice-vdagentd.enable = true;