feat(info): add stationary attribute
This commit is contained in:
parent
3c9b2115b6
commit
b137f9ff8b
2 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ in
|
||||||
env = {
|
env = {
|
||||||
wm = mkInfoOpt;
|
wm = mkInfoOpt;
|
||||||
};
|
};
|
||||||
|
stationary = mkBoolOpt false;
|
||||||
};
|
};
|
||||||
|
|
||||||
secrets = mkOpt (attrsOf path) { };
|
secrets = mkOpt (attrsOf path) { };
|
||||||
|
|
|
@ -16,6 +16,7 @@ in
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
(mkIf cfg.desktop {
|
(mkIf cfg.desktop {
|
||||||
modules.hardware.audio.enable = mkDefault true;
|
modules.hardware.audio.enable = mkDefault true;
|
||||||
|
info.stationary = mkDefault true;
|
||||||
})
|
})
|
||||||
(mkIf cfg.laptop {
|
(mkIf cfg.laptop {
|
||||||
modules.hardware = {
|
modules.hardware = {
|
||||||
|
@ -100,6 +101,7 @@ in
|
||||||
info = {
|
info = {
|
||||||
monitors = mkDefault 0;
|
monitors = mkDefault 0;
|
||||||
model = mkDefault "Headless Server";
|
model = mkDefault "Headless Server";
|
||||||
|
stationary = mkDefault true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue