switch back to nixfmt
This commit is contained in:
parent
6d30e0a9f5
commit
62032eab6d
37 changed files with 797 additions and 689 deletions
|
|
@ -2,15 +2,17 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
mergedConfig = pkgs.runCommand "mergedConfig" {} ''
|
||||
}:
|
||||
let
|
||||
mergedConfig = pkgs.runCommand "mergedConfig" { } ''
|
||||
mkdir -p $out/themes
|
||||
${pkgs.gnused}/bin/sed 's/blankFlavor/${config.catppuccin.flavor}/g' \
|
||||
${./btop.conf} > $out/btop.conf
|
||||
cp ${pkgs.catppuccin-btop-git}/themes/catppuccin_latte.theme $out/themes/
|
||||
cp ${pkgs.catppuccin-btop-git}/themes/catppuccin_${config.catppuccin.flavor}.theme $out/themes/nixos.theme
|
||||
'';
|
||||
in {
|
||||
in
|
||||
{
|
||||
home.file.".config/btop" = {
|
||||
source = mergedConfig;
|
||||
recursive = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue