From 25926cd2f8af660f9794b2519af19feaebab3cb9 Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Wed, 10 Dec 2025 10:47:32 -0500 Subject: [PATCH] change kisokUrl from inventory.nix --- hosts/default.nix | 12 +++++++++--- inventory.nix | 7 ++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 3ecf97e..0bfe0ae 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -116,17 +116,23 @@ let overrideModule = { ... }: let - # Remove special keys that are not filesystem options + # Remove special keys for filesystem overrides, keep other config attrs fsConf = builtins.removeAttrs devConf [ "extraUsers" "flakeUrl" "hostname" + "modules" + ]; + extraConfig = lib.removeAttrs devConf [ + "extraUsers" + "flakeUrl" + "hostname" ]; in - lib.mkIf hasOverride { + lib.mkIf hasOverride (lib.recursiveUpdate { host.filesystem = fsConf; modules.users.enabledUsers = devConf.extraUsers or [ ]; - }; + } extraConfig); config = mkHost { hostName = hostName; diff --git a/inventory.nix b/inventory.nix index 0ff5108..02c9e08 100644 --- a/inventory.nix +++ b/inventory.nix @@ -44,7 +44,12 @@ # Surface Tablet Configuration (Kiosk Mode) # 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 nix-lxc = {