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
|
inputs.nixos-hardware.nixosModules.microsoft-surface-go
|
||||||
{
|
{
|
||||||
modules.sw.enable = true;
|
modules.sw.enable = true;
|
||||||
modules.sw.type = "kiosk";
|
modules.sw.type = "tablet-kiosk";
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user