From b137f9ff8b208ca6e22d452d84725053156e2287 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 12 May 2022 11:16:40 -0400 Subject: [PATCH] feat(info): add stationary attribute --- modules/devos/options.nix | 1 + modules/modules/hardware/form.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/devos/options.nix b/modules/devos/options.nix index 2227ae2..253357a 100644 --- a/modules/devos/options.nix +++ b/modules/devos/options.nix @@ -27,6 +27,7 @@ in env = { wm = mkInfoOpt; }; + stationary = mkBoolOpt false; }; secrets = mkOpt (attrsOf path) { }; diff --git a/modules/modules/hardware/form.nix b/modules/modules/hardware/form.nix index 9e48023..2687f1c 100644 --- a/modules/modules/hardware/form.nix +++ b/modules/modules/hardware/form.nix @@ -16,6 +16,7 @@ in config = mkMerge [ (mkIf cfg.desktop { modules.hardware.audio.enable = mkDefault true; + info.stationary = mkDefault true; }) (mkIf cfg.laptop { modules.hardware = { @@ -100,6 +101,7 @@ in info = { monitors = mkDefault 0; model = mkDefault "Headless Server"; + stationary = mkDefault true; }; }) ];