mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Inherit enablement of os options in hm
This commit is contained in:
parent
78d8069a88
commit
b0f3028c6e
4 changed files with 12 additions and 9 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, ... }@moduleArgs:
|
||||
{
|
||||
options.myConfig.flatpak.enable = lib.mkEnableOption "";
|
||||
options.myConfig.flatpak.enable = lib.mkEnableOption "" // {
|
||||
default = moduleArgs.osConfig.myConfig.flatpak.enable or false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.myConfig.flatpak.enable {
|
||||
xdg = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue