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 inputs.nixos-hardware.nixosModules.microsoft-surface-go
{ {
modules.sw.enable = true; modules.sw.enable = true;
modules.sw.type = "kiosk"; modules.sw.type = "tablet-kiosk";
} }
] ]

View File

@@ -30,11 +30,11 @@ in
type = mkOption { type = mkOption {
type = types.enum [ type = types.enum [
"desktop" "desktop"
"kiosk" "tablet-kiosk"
"headless" "headless"
]; ];
default = "desktop"; 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 { extraPackages = mkOption {
@@ -101,8 +101,8 @@ in
; ;
} }
)) ))
(mkIf (cfg.type == "kiosk") ( (mkIf (cfg.type == "tablet-kiosk") (
import ./kiosk { import ./tablet-kiosk {
inherit inherit
config config
lib lib

View File

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