mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: guard btop config linking behind btop.enable
This commit is contained in:
parent
f329c3af7c
commit
44460552c1
2 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
programs.btop.enable = true;
|
||||
|
||||
# Link manually to get the theme along with the config
|
||||
home.file.btop = {
|
||||
home.file.btop = lib.mkIf config.programs.btop.enable {
|
||||
recursive = true;
|
||||
source = ./btop;
|
||||
target = ".config/btop";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue