catppuccin / nix

❄️ Soothing pastel theme for Nix

Home Page:https://nix.catppuccin.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing Home Manager creates a conflicts with Hyprland (even disabled)

DeltaCircuit opened this issue · comments

flake.lock

{
  "locked": {
    "lastModified": 1719758387,
    "narHash": "sha256-bMaI1jJNzIZar4TP/hhoPQROqqcbD6zT6O+sqIJdp8c=",
    "owner": "catppuccin",
    "repo": "nix",
    "rev": "9eb0610d48dd0e1fecf772bbdacf9050d7b82d7c",
    "type": "github"
  },
  "original": {
    "owner": "catppuccin",
    "repo": "nix",
    "type": "github"
  }
}

And imported the home manager module as

catppuccin.homeManagerModules.catppuccin

I'm using Sway and not enabled Hyprland and yet, when I try to import the HM module, it throws an error like below.

image

What am I missing?

commented

i would need more context here. i'm guessing that this module was either not imported under your home-manager user, or you're using a very outdated version of home-manager that doesn't include support for hyprland

@getchoo I'm on the latest home-manager. For reference, here's the flake input and I'm importing HM module here. This definitions is added to the home-manager user here

commented

@DeltaCircuit i'm fairly sure this is a known conflict with hyprland-nix - which you use here. this was previously discussed in #102, along with a workaround at the end of this comment

if it doesn't work out for you or i'm wrong here, feel free to re-open :)

@getchoo thanks for the response! I didn't see the previous issue, and yes both are same.

But even after commenting out the module, it's still persists. Any clue what's going on here?

The current import / disable looks like this

imports = [
  inputs.catppuccin.homeManagerModules.catppuccin
];

disabledModules = [
  "${inputs.catppuccin}/modules/home-manager/hyprland.nix" # This didn't work
  "${inputs.catppuccin.outPath}/modules/home-manager/hyprland.nix" # This didn't work either
];

I think I'm missing something very silly, could you help me out here? I'm still taking baby steps on Nix / NixOS.