feat: Ensure ability to change kisokUrl from inventory.nix
This commit is contained in:
committed by
Hunter Halloran
parent
67e763cb5f
commit
2313b60bbf
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user