refactor: Rename kiosk to tablet-kiosk
This commit is contained in:
committed by
Hunter Halloran
parent
bcacfd2ca1
commit
826aa0c501
@@ -53,6 +53,6 @@
|
||||
inputs.nixos-hardware.nixosModules.microsoft-surface-go
|
||||
{
|
||||
modules.sw.enable = true;
|
||||
modules.sw.type = "kiosk";
|
||||
modules.sw.type = "tablet-kiosk";
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user