Modularize individual configs
This commit is contained in:
parent
903088cf12
commit
d207826769
4 changed files with 3 additions and 3 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
nix-ld = {
|
nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nix-ld.libraries = with pkgs; [ jdk zlib ];
|
libraries = with pkgs; [ jdk zlib ];
|
||||||
};
|
};
|
||||||
direnv = {
|
direnv = {
|
||||||
package = pkgs.direnv;
|
package = pkgs.direnv;
|
||||||
|
|
|
||||||
|
|
@ -29,5 +29,6 @@
|
||||||
./virtualbox.nix
|
./virtualbox.nix
|
||||||
./xone.nix
|
./xone.nix
|
||||||
./yazi
|
./yazi
|
||||||
|
./kitty.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = lib.mkIf config.mods.fish.enable
|
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) {
|
// lib.optionalAttrs (options ? xdg.configFile) {
|
||||||
xdg.configFile."fish/config.fish" = {
|
xdg.configFile."fish/config.fish" = {
|
||||||
text = ''
|
text = ''
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ in {
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./oxi/default.nix
|
./oxi/default.nix
|
||||||
./themes/default.nix
|
./themes/default.nix
|
||||||
./individual_configs/default.nix
|
|
||||||
./sync.nix
|
./sync.nix
|
||||||
] ++ base_imports ++ lib.optional (builtins.pathExists mod) mod;
|
] ++ base_imports ++ lib.optional (builtins.pathExists mod) mod;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue