modules/laptop: initial commit

This commit is contained in:
Alejandro Soto 2025-08-06 14:15:41 -06:00
parent 64ba64b857
commit 026da8a6d1
No known key found for this signature in database
GPG key ID: A2C4C79764EE8F16
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{
config,
doctrine,
...
}:
doctrine.lib.mkModule {
inherit config;
name = "laptop";
sys = ./sys.nix;
}

11
modules/laptop/sys.nix Normal file
View file

@ -0,0 +1,11 @@
{
config,
lib,
pkgs,
...
}: {
services = {
tlp.enable = lib.mkDefault true;
upower.enable = lib.mkDefault true;
};
}