feat: separate custom pkgs from nixpkgs
This commit is contained in:
parent
66e3a03d7d
commit
384fe2a6e1
8 changed files with 43 additions and 34 deletions
home/hyprland
|
@ -8,7 +8,6 @@
|
|||
...
|
||||
}: let
|
||||
# Nix utils
|
||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
optionals = lib.lists.optionals;
|
||||
|
||||
# Config stuff
|
||||
|
@ -26,11 +25,6 @@ in {
|
|||
../wofi
|
||||
];
|
||||
|
||||
xdg.configFile = with lib;
|
||||
mkIf (pathExists confPath) {
|
||||
"hypr/main.conf".source = symlink confPath;
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = hyprland.packages.x86_64-linux.default;
|
||||
|
@ -182,11 +176,7 @@ in {
|
|||
vfr = true;
|
||||
};
|
||||
|
||||
source =
|
||||
[]
|
||||
++ optionals (lib.pathExists confPath) [
|
||||
"~/.config/hypr/main.conf"
|
||||
];
|
||||
source = [confPath];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue