diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-08-06 14:15:41 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-08-06 14:36:55 -0600 |
| commit | 4544f75818369fa7a382eb7d55772519462287b2 (patch) | |
| tree | f1a00123fe94ef18f7a33387be50d11a17fb6718 /modules | |
| parent | ccfca16452e91705330abc09cea1f9dd897c00f7 (diff) | |
modules/laptop: initial commit
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/laptop/default.nix | 10 | ||||
| -rw-r--r-- | modules/laptop/sys.nix | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/modules/laptop/default.nix b/modules/laptop/default.nix new file mode 100644 index 0000000..b908d47 --- /dev/null +++ b/modules/laptop/default.nix @@ -0,0 +1,10 @@ +{ + config, + doctrine, + ... +}: +doctrine.lib.mkModule { + inherit config; + name = "laptop"; + sys = ./sys.nix; +} diff --git a/modules/laptop/sys.nix b/modules/laptop/sys.nix new file mode 100644 index 0000000..252f49c --- /dev/null +++ b/modules/laptop/sys.nix @@ -0,0 +1,11 @@ +{ + config, + lib, + pkgs, + ... +}: { + services = { + tlp.enable = lib.mkDefault true; + upower.enable = lib.mkDefault true; + }; +} |
