mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Improve deUtils dependency management
This commit is contained in:
parent
206c43f71a
commit
1f8cadb2dc
6 changed files with 32 additions and 9 deletions
|
|
@ -8,6 +8,13 @@
|
|||
options.myConfig.deUtils.cliphist.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.deUtils.cliphist.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = config.myConfig.deUtils.rofi.enable;
|
||||
message = "cliphist requires rofi";
|
||||
}
|
||||
];
|
||||
|
||||
services.cliphist = {
|
||||
enable = true;
|
||||
allowImages = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue