get rid of mkSource
This commit is contained in:
parent
431ff32240
commit
dce7838b86
5 changed files with 13 additions and 19 deletions
|
|
@ -6,7 +6,7 @@
|
|||
mergedConfig = pkgs.runCommand "mergedConfig" {} ''
|
||||
mkdir -p $out
|
||||
${pkgs.gnused}/bin/sed 's/#1e1e2e/#000000/g' \
|
||||
${pkgs.catppuccin-mpv-git.src}/themes/${config.catppuccin.flavor}/${config.catppuccin.accent}.conf \
|
||||
${pkgs.catppuccin-mpv-git}/themes/${config.catppuccin.flavor}/${config.catppuccin.accent}.conf \
|
||||
> $out/mpv.conf
|
||||
'';
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
mkdir -p $out/themes
|
||||
${pkgs.gnused}/bin/sed 's/blankFlavor/${config.catppuccin.flavor}/g' \
|
||||
${./btop.conf} > $out/btop.conf
|
||||
cp ${pkgs.catppuccin-btop-git.src}/themes/catppuccin_latte.theme $out/themes/
|
||||
cp ${pkgs.catppuccin-btop-git.src}/themes/catppuccin_${config.catppuccin.flavor}.theme $out/themes/nixos.theme
|
||||
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 {
|
||||
home.file.".config/btop" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue