forked from Shinonome/dots-hyprland
a
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../options.nix
|
../options.nix
|
||||||
|
./hyprland/default.nix
|
||||||
];
|
];
|
||||||
# ++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [
|
# ++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [
|
||||||
# ./hyprland/default.nix
|
# ./hyprland/default.nix
|
||||||
@@ -25,12 +26,6 @@ in {
|
|||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};
|
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};
|
||||||
".config/hypr" = lib.mkIf (!cfg.settings.hyprland.useNixForConf) {
|
|
||||||
source = builtins.path {
|
|
||||||
path = ../../.config/hypr;
|
|
||||||
# executable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# dont forget hypridle and hyprlock!!!
|
# dont forget hypridle and hyprlock!!!
|
||||||
".config/kitty".source = builtins.path {path = ../../.config/kitty;};
|
".config/kitty".source = builtins.path {path = ../../.config/kitty;};
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ in {
|
|||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = lib.optionals cfg.settings.hyprland.useNixForConf [
|
||||||
./hypr/keybinds.nix
|
./hypr/keybinds.nix
|
||||||
./hypr/execs.nix
|
./hypr/execs.nix
|
||||||
./hypr/rules.nix
|
./hypr/rules.nix
|
||||||
@@ -22,18 +22,14 @@ in {
|
|||||||
./hypridle.nix
|
./hypridle.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
config = lib.mkIf cfg.settings.hyprland.useNixForConf {
|
||||||
".config/hypr/scripts" = {
|
home.file = {
|
||||||
source = builtins.path {
|
".config/hypr/scripts" = {
|
||||||
path = ../../.config/hypr/hyprland/scripts;
|
source = builtins.path {
|
||||||
executable = true;
|
path = ../../.config/hypr/hyprland/scripts;
|
||||||
|
executable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# wayland.windowManager.hyprland = {
|
|
||||||
# enable = true;
|
|
||||||
# xwayland.enable = true;
|
|
||||||
# systemd.enable = true;
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user