Add laptop module and remove unused dotfiles

This commit is contained in:
2024-06-25 13:12:17 -05:00
parent dee11161e8
commit 4424978387
25 changed files with 139 additions and 525 deletions

View File

@@ -14,5 +14,6 @@
./networking.nix
./openssh.nix
./system.nix
./laptop.nix
];
}

View File

@@ -0,0 +1,24 @@
{ lib
, pkgs
, config
, ...
}:
with lib; let
cfg = config.simmer.gui;
in
{
options.simmer.laptop = {
backlight.enable = mkOption {
description = "Whether to enable backlight control";
type = types.bool;
default = false;
};
powersave.enable = mkOption {
description = "Whether to enable powersaving programs";
type = types.bool;
default = false;
};
};
}