change kisokUrl from inventory.nix

This commit is contained in:
UGA Innovation Factory
2025-12-10 10:47:32 -05:00
parent d74b1eeb9b
commit 25926cd2f8
2 changed files with 15 additions and 4 deletions

View File

@@ -116,17 +116,23 @@ let
overrideModule = overrideModule =
{ ... }: { ... }:
let let
# Remove special keys that are not filesystem options # Remove special keys for filesystem overrides, keep other config attrs
fsConf = builtins.removeAttrs devConf [ fsConf = builtins.removeAttrs devConf [
"extraUsers" "extraUsers"
"flakeUrl" "flakeUrl"
"hostname" "hostname"
"modules"
];
extraConfig = lib.removeAttrs devConf [
"extraUsers"
"flakeUrl"
"hostname"
]; ];
in in
lib.mkIf hasOverride { lib.mkIf hasOverride (lib.recursiveUpdate {
host.filesystem = fsConf; host.filesystem = fsConf;
modules.users.enabledUsers = devConf.extraUsers or [ ]; modules.users.enabledUsers = devConf.extraUsers or [ ];
}; } extraConfig);
config = mkHost { config = mkHost {
hostName = hostName; hostName = hostName;

View File

@@ -44,7 +44,12 @@
# Surface Tablet Configuration (Kiosk Mode) # Surface Tablet Configuration (Kiosk Mode)
# Base specs: eMMC drive, 8G Swap # Base specs: eMMC drive, 8G Swap
nix-surface.count = 3; nix-surface = {
count = 3;
devices = {
"1".modules.sw.kioskUrl = "https://google.com";
};
};
# LXC Container Configuration # LXC Container Configuration
nix-lxc = { nix-lxc = {