refactor: Fully modularize the working system components to be more

reuasable
This commit is contained in:
2025-12-09 17:38:41 -05:00
committed by Hunter Halloran
parent 0e5c993a26
commit ebb70eca07
31 changed files with 923 additions and 754 deletions

22
sw/kiosk/programs.nix Normal file
View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, inputs, ... }:
with lib;
let
cfg = config.modules.sw;
basePackages = with pkgs; [
libcamera
chromium
glib
squeekboard
dconf
phoc
gsettings-desktop-schemas
];
in {
environment.systemPackages = subtractLists cfg.excludePackages (basePackages ++ cfg.extraPackages);
programs.chromium = {
enable = true;
};
}