mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref: nix
This commit is contained in:
parent
d3f283d290
commit
d961de1585
5 changed files with 25 additions and 40 deletions
|
|
@ -17,7 +17,7 @@
|
|||
if isLinux
|
||||
then ./cmus-linux
|
||||
else ./cmus-darwin;
|
||||
target = ".config/cmus";
|
||||
target = "${config.xdg.configHome}/cmus";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,9 @@
|
|||
imports = [./aliasesAbbrs.nix];
|
||||
|
||||
programs.fish = let
|
||||
inherit (builtins) readFile foldl' map listToAttrs concatMap;
|
||||
inherit (builtins) readFile map listToAttrs concatMap;
|
||||
readConfig = n: readFile ./conf.d/${n}.fish;
|
||||
readConfigs = ns:
|
||||
foldl' (l: r: l + "\n" + r) ""
|
||||
(map readConfig ns);
|
||||
readConfigs = ns: builtins.concatStringsSep "\n" (map readConfig ns);
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue