refactor: Rename kiosk to tablet-kiosk

This commit is contained in:
UGA Innovation Factory
2025-12-10 10:31:09 -05:00
committed by Hunter Halloran
parent bcacfd2ca1
commit 826aa0c501
7 changed files with 5 additions and 15 deletions

View File

@@ -53,6 +53,6 @@
inputs.nixos-hardware.nixosModules.microsoft-surface-go
{
modules.sw.enable = true;
modules.sw.type = "kiosk";
modules.sw.type = "tablet-kiosk";
}
]

View File

@@ -30,11 +30,11 @@ in
type = mkOption {
type = types.enum [
"desktop"
"kiosk"
"tablet-kiosk"
"headless"
];
default = "desktop";
description = "Type of system configuration: 'desktop' for normal OS, 'kiosk' for tablet/kiosk mode.";
description = "Type of system configuration: 'desktop' for normal OS, 'tablet-kiosk' for tablet/kiosk mode.";
};
extraPackages = mkOption {
@@ -101,8 +101,8 @@ in
;
}
))
(mkIf (cfg.type == "kiosk") (
import ./kiosk {
(mkIf (cfg.type == "tablet-kiosk") (
import ./tablet-kiosk {
inherit
config
lib

View File

@@ -11,18 +11,8 @@ with lib;
let
cfg = config.modules.sw;
basePackages = with pkgs; [
uv
perl
openssh
ncurses
tmux
htop
binutils
man
git
oh-my-posh
zsh
lm_sensors
];
in
{