mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
wrapper-manager/dconf: add read-only option to refer to database drv
This commit is contained in:
parent
8658febe8d
commit
496527e76b
@ -105,10 +105,20 @@ in
|
||||
database file from our settings.
|
||||
'';
|
||||
};
|
||||
|
||||
databaseDrv = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
description = ''
|
||||
Derivation containing the compiled dconf database. Useful for
|
||||
integrating with your own module.
|
||||
'';
|
||||
readOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf submoduleCfg.enable {
|
||||
env.DCONF_PROFILE.value = dconfProfileFile;
|
||||
dconf.databaseDrv = dconfSettingsDatabase;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user