ref(nix): formatted with nixfmt-rfc-style

This commit is contained in:
Léana 江 2024-03-30 21:08:07 +01:00 committed by Léana 江
parent 36a2265325
commit 23404db605
40 changed files with 574 additions and 474 deletions

View file

@ -3,7 +3,8 @@
lib,
config,
...
}: {
}:
{
home = lib.mkIf config.cmus.enable {
packages = with pkgs; [
cmus
@ -11,12 +12,11 @@
];
file.cmus = {
recursive = true;
source = let
inherit (pkgs.stdenv) isLinux;
in
if isLinux
then ./cmus-linux
else ./cmus-darwin;
source =
let
inherit (pkgs.stdenv) isLinux;
in
if isLinux then ./cmus-linux else ./cmus-darwin;
target = "${config.xdg.configHome}/cmus";
};
};