Use hyprland lua flake instead of config directory

This commit is contained in:
Nina Chlóe Kassandra Reiß
2026-07-26 12:41:32 +02:00
parent 75e21a7463
commit 3892be9175
+3 -32
View File
@@ -1,23 +1,6 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
dotfiles_hypr = pkgs.fetchgit { hyprFlake = builtins.getFlake "git+https://git.nichkara.eu/system/hyprlua";
url = "https://git.nichkara.eu/system/hyprlua";
rev = "42cda0ea4707535ec21512543e4a147ef971be2d";
sha256 = "sha256-l08epLZKCXaJ3N6MU25/FfuzEuiXjOn10tWYPBLNOsI=";
};
dotfiles_waybar = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/waybar";
rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7";
sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc=";
};
dotfiles_wofi = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/wofi.git";
rev = "47bbe8a40de55871ad6106b2fa5df18d6ec77e39";
sha256 = "sha256-lrQfc9nQinbd1hbf1WmLm8NMRqQKb1ti3v+074+Oo5Y=";
};
profile = import ../../profile.nix; profile = import ../../profile.nix;
in in
{ {
@@ -44,9 +27,7 @@ in
enable = true; enable = true;
xwayland.enable = true; xwayland.enable = true;
configType = "hyprlang"; configType = "hyprlang";
extraConfig = '' extraConfig = "";
exec-once = sleep 2 && nextcloud
'';
}; };
}; };
}; };
@@ -56,17 +37,7 @@ in
}; };
xdg.configFile."hypr" = { xdg.configFile."hypr" = {
source = dotfiles_hypr; source = hyprFlake;
recursive = true;
};
xdg.configFile."waybar" = {
source = dotfiles_waybar;
recursive = true;
};
xdg.configFile."wofi" = {
source = dotfiles_wofi;
recursive = true; recursive = true;
}; };