Use hyprland lua flake instead of config directory
This commit is contained in:
@@ -1,23 +1,6 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
dotfiles_hypr = pkgs.fetchgit {
|
||||
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=";
|
||||
};
|
||||
|
||||
hyprFlake = builtins.getFlake "git+https://git.nichkara.eu/system/hyprlua";
|
||||
profile = import ../../profile.nix;
|
||||
in
|
||||
{
|
||||
@@ -44,9 +27,7 @@ in
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
configType = "hyprlang";
|
||||
extraConfig = ''
|
||||
exec-once = sleep 2 && nextcloud
|
||||
'';
|
||||
extraConfig = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -56,17 +37,7 @@ in
|
||||
};
|
||||
|
||||
xdg.configFile."hypr" = {
|
||||
source = dotfiles_hypr;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
xdg.configFile."waybar" = {
|
||||
source = dotfiles_waybar;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
xdg.configFile."wofi" = {
|
||||
source = dotfiles_wofi;
|
||||
source = hyprFlake;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user