nix: centralized enable flags

This commit is contained in:
Primrose 2024-10-18 20:14:24 +02:00
parent 202623cecb
commit 04e38c40c3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
12 changed files with 38 additions and 29 deletions

View file

@ -1,5 +1,5 @@
{ config, lib, ... }:
{
programs.btop.enable = true;
xdg.configFile.btop.source = lib.mkIf config.programs.btop.enable ./btop;
}