Open spikespaz opened 2 months ago
@hmajid2301 I forgot to ask before creating a new issue, but you did successfully use wayland.windowManager.hyprland.fufexan.enable = true
on the rewrite
branch, correct?
Try this:
diff --git a/flake.nix b/flake.nix
index 1b73677..a69e6cd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -76,15 +76,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
- hyprland-git.url = "github:hyprwm/hyprland";
- hyprland-xdph-git.url = "github:hyprwm/xdg-desktop-portal-hyprland";
- hyprland-protocols-git.url = "github:hyprwm/xdg-desktop-portal-hyprland";
- hyprland-nix.url = "github:hyprland-community/hyprnix/rewrite";
- hyprland-nix.inputs = {
- hyprland.follows = "hyprland-git";
- hyprland-xdph.follows = "hyprland-xdph-git";
- hyprland-protocols.follows = "hyprland-protocols-git";
- };
+ hyprnix.url = "github:hyprland-community/hyprnix/rewrite";
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
nixvim = {
diff --git a/modules/home/desktops/hyprland/default.nix b/modules/home/desktops/hyprland/default.nix
index 82f3850..2e7ab6c 100644
--- a/modules/home/desktops/hyprland/default.nix
+++ b/modules/home/desktops/hyprland/default.nix
@@ -11,7 +11,7 @@ with types; let
in {
imports = with inputs;
[
- hyprland-nix.homeManagerModules.default
+ hyprnix.homeManagerModules.default
]
++ lib.snowfall.fs.get-non-default-nix-files ./.;
Looks to be the same error:
┏━ 1 Errors:
┃ error:
┃ … while evaluating a branch condition
┃ at /nix/store/ia1zpg1s63v6b3vin3n7bxxjgcs51s2r-source/lib/lists.nix:125:9:
┃ 124| fold' = n:
┃ 125| if n == len
┃ | ^
┃ 126| then nul
┃
┃ … while calling the 'length' builtin
┃ at /nix/store/ia1zpg1s63v6b3vin3n7bxxjgcs51s2r-source/lib/lists.nix:123:13:
┃ 122| let
┃ 123| len = length list;
┃ | ^
┃ 124| fold' = n:
┃
┃ (stack trace truncated; use '--show-trace' to show the full trace)
┃
┃ error: The option `wayland.windowManager.hyprland.settings."\$accent"' does not exist. Definition values:
┃ - In `/nix/store/2phys7y5pxk5dvp489ipx67hl9gzw4jr-source/modules/home-manager/hyprland.nix':
┃ {
┃ _type = "if";
┃ condition = false;
┃ content = "$mauve";
┃ }
┣━━━
┗━ ∑ ⚠ Exited with 1 errors reported by nix at 15:43:11 after 1s
Error:
0: Command exited with status Exited(1)
Location:
src/commands.rs:151
@hmajid2301 I forgot to ask before creating a new issue, but you did successfully use
wayland.windowManager.hyprland.fufexan.enable = true
on therewrite
branch, correct?
No I got the error straight away, as I already had catppuccin nix. Or do you mean did I try it without catppuccin nix?
@spikespaz sorry to bother you any update on this?
@spikespaz sorry to bother you any update on this?
Catppuccin unknowingly rugpulled the current fix. You could revert to a catppuccin revision that still uses sourced/included external files. Now, they rely on the serialization mechanism written by Fufexan, so a shim isn't so easy.
I can probably get to it next week. I just moved and started a new job, so just give some time for dust to settle for me.
I'm sincerely sorry for the inconvenience and delay.
Mate no need to apologise:). This is all opennsoirxd you contribute when you can. Hahaha, thanks for all your efforts.
Originally posted by @hmajid2301 in https://github.com/hyprland-community/hyprnix/issues/10#issuecomment-2315825498