Modularize individual configs

This commit is contained in:
DashieTM 2024-08-24 22:43:03 +02:00
parent 903088cf12
commit d207826769
4 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@
programs = {
nix-ld = {
enable = true;
nix-ld.libraries = with pkgs; [ jdk zlib ];
libraries = with pkgs; [ jdk zlib ];
};
direnv = {
package = pkgs.direnv;

View file

@ -29,5 +29,6 @@
./virtualbox.nix
./xone.nix
./yazi
./kitty.nix
];
}

View file

@ -8,7 +8,7 @@
};
};
config = lib.mkIf config.mods.fish.enable
(lib.optionalAttrs (options ? programs.fish) { fish = { enable = true; }; }
(lib.optionalAttrs (options ? programs.fish) { programs.fish = { enable = true; }; }
// lib.optionalAttrs (options ? xdg.configFile) {
xdg.configFile."fish/config.fish" = {
text = ''