mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref(nix): formatted with nixfmt-rfc-style
This commit is contained in:
parent
36a2265325
commit
23404db605
40 changed files with 574 additions and 474 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue