diff options
-rw-r--r-- | hosts/aptos/profile.nix | 2 | ||||
-rw-r--r-- | hosts/aptos/services.nix | 6 | ||||
-rw-r--r-- | profiles/default.nix | 2 | ||||
-rw-r--r-- | profiles/laptop/default.nix | 15 |
4 files changed, 7 insertions, 18 deletions
diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix index 1ba221e..58bb296 100644 --- a/hosts/aptos/profile.nix +++ b/hosts/aptos/profile.nix @@ -4,8 +4,6 @@ hardware.sane.enable = true; my.profiles = { - # Laptop specific configuration - laptop.enable = true; desktop.enable = true; multimedia.enable = true; trusted.enable = true; diff --git a/hosts/aptos/services.nix b/hosts/aptos/services.nix index a2210e2..5e98947 100644 --- a/hosts/aptos/services.nix +++ b/hosts/aptos/services.nix @@ -2,6 +2,12 @@ let secrets = config.age.secrets; in { my.services = { + # monitors and controls temperature + thermald.enable = true; + + # Enable TLP power management + tlp.enable = true; + backup = { enable = true; user = "fcuny"; diff --git a/profiles/default.nix b/profiles/default.nix index 9c0d2f9..df86fe6 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./laptop ./gtk ./trusted ./wm ./desktop ./multimedia ]; } +{ ... }: { imports = [ ./gtk ./trusted ./wm ./desktop ./multimedia ]; } diff --git a/profiles/laptop/default.nix b/profiles/laptop/default.nix deleted file mode 100644 index f5288b6..0000000 --- a/profiles/laptop/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, lib, ... }: -let cfg = config.my.profiles.laptop; -in { - options.my.profiles.laptop = with lib; { - enable = mkEnableOption "laptop profile"; - }; - - config = lib.mkIf cfg.enable { - # monitors and controls temperature - my.services.thermald.enable = true; - - # Enable TLP power management - my.services.tlp.enable = true; - }; -} |