Nix garuda update error

I keep getting this error when i try an run garuda-update or nixox-rebuild.

error:
… while calling the 'head' builtin
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1574:11:
1573|         || pred here (elemAt values 1) (head values) then
1574|           head values
|           ^
1575|         else

… while evaluating the attribute 'value'
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:816:9:
815|     in warnDeprecation opt //
816|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
|         ^
817|         inherit (res.defsFinal') highestPrio;

… while evaluating the option `system.build.toplevel':

… while evaluating definitions from `/nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix':

… while evaluating the option `home-manager.users.elite.home.file':

… while evaluating definitions from `/nix/store/4g0j8dn9aq7ajb0rdc1vhakmkba5s29s-source/internal/modules/dr460nized/metafiles.nix':

(stack trace truncated; use '--show-trace' to show the full, detailed trace)

error: A definition for option `environment.systemPackages."[definition 7-entry 2]"' is not of type `package'. Definition values:
- In `/nix/store/4g0j8dn9aq7ajb0rdc1vhakmkba5s29s-source/internal/modules/base/managed': <function, args: {deepClone?, fetchLFS?, fetchSubmodules?, forceFetchGit?, githubBase?, leaveDotGit?, meta?, name?, owner, private?, repo, rev, sparseCheckout?, varPrefix?}>

the system was fine last night when I shut down. But when i pooted force blur was gone so i tried to add it as a sub module. but no luck got that error so i resorted my original config an still got the error.

{
    description = "Garuda Linux Nix Subsystem Flake";

    inputs = {
        garuda.url = "gitlab:garuda-linux/garuda-nix-subsystem/stable";
        nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

        kwin-effects-forceblur = {
            url = "github:taj-ny/kwin-effects-forceblur";
            inputs.nixpkgs.follows = "nixpkgs";
        };
    };

outputs = { self, nixpkgs, kwin-effects-forceblur, ... }: {
  nixosModules = {
    default = { config, pkgs, ... }: {
      environment.systemPackages = [
        kwin-effects-forceblur.packages.${pkgs.system}.default
      ];
    };
  };
};
}

I haven’t touched my configuration. nix. An i’m a bit lost i’ve been reading the docs but can’t figure this one out.

For reference my orignial working config last night was like this.

Original config
  {
  description = "Garuda Linux Nix Subsystem Flake";

  inputs = {
    garuda.url = "gitlab:garuda-linux/garuda-nix-subsystem/stable";
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

    kwin-effects-forceblur = {
      url = "github:taj-ny/kwin-effects-forceblur";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    aagl.url = "github:ezKEa/aagl-gtk-on-nix";
    aagl.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, garuda, nixpkgs, kwin-effects-forceblur, aagl, ... }:
  let
    system = "x86_64-linux";
    lib = nixpkgs.lib;  # Import lib from nixpkgs
  in
  {
    nixosConfigurations.elite-garuda = garuda.lib.garudaSystem {
      inherit system;
      modules = [
        ./configuration.nix
        {
          environment.systemPackages = [
            kwin-effects-forceblur.packages.${system}.default
          ];
        }
        {
          imports = [ aagl.nixosModules.default ];
          nix.settings = aagl.nixConfig;
          programs.anime-game-launcher.enable = true;
          programs.honkers-railway-launcher.enable = true;
          programs.honkers-launcher.enable = true;
          programs.sleepy-launcher.enable = true;
        }
      ];
    };
  };
}

I should add I’ve also tried to go back via generations a the grub screen nix all configuration as well.

As a side note I did pass up on removing fastfetch default config for now. As it can wait tell i’m a bit more knowledgeable.

I guess this pkg from the garuda nix manager cause the issue fetchFromGitHub might need to be removed.

And better blur is back? I don’t understand nix.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.