Error: attribute 'xml' missing

Hi! I tried to rebuild my system today (as far as I know I didn’t change anything in my config) and it threw me this error:

[root@dell-3:~]# nixos-rebuild switch --fast
building the system configuration...
error:
       … while calling the 'head' builtin
         at /nix/store/v0g0bxsd5gw6k0jz2855f8h7l1218925-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/v0g0bxsd5gw6k0jz2855f8h7l1218925-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

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

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

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/v0g0bxsd5gw6k0jz2855f8h7l1218925-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.home-manager-jeansibelius.serviceConfig':

       … while evaluating definitions from `/nix/store/vxad3ji73b1vyrjdhs6amxp6qc0k51cb-source/nixos':

       … while evaluating the option `home-manager.users.jeansibelius.home.file."/home/jeansibelius/.config/fontconfig/conf.d/10-hm-fonts.conf".source':

       … while evaluating definitions from `/nix/store/vxad3ji73b1vyrjdhs6amxp6qc0k51cb-source/modules/files.nix':

       … while evaluating the option `home-manager.users.jeansibelius.home.file."/home/jeansibelius/.config/fontconfig/conf.d/10-hm-fonts.conf".text':

       … while evaluating definitions from `/nix/store/vxad3ji73b1vyrjdhs6amxp6qc0k51cb-source/modules/misc/xdg.nix':

       … while evaluating the option `home-manager.users.jeansibelius.xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".text':

       … while evaluating definitions from `/nix/store/vxad3ji73b1vyrjdhs6amxp6qc0k51cb-source/modules/misc/fontconfig.nix':

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

       error: attribute 'xml' missing
       at /nix/store/vxad3ji73b1vyrjdhs6amxp6qc0k51cb-source/modules/services/window-managers/labwc/labwc.nix:12:15:
           11|
           12|   xmlFormat = pkgs.formats.xml { };
             |               ^
           13|
       Did you mean one of toml or yaml?

What does it mean? How can I troubleshoot it?

Best,
Miro

I just had this issue. Are your versions of home-manager and NixOS mismatched?

I’m running NixOS 24.11 but using the latest home-manager. It seems like a recent update to home-manager broke compatibility with NixOS 24.11.

I pinned mine to the last home-manager commit with:

home-manager = {
  url = "github:nix-community/home-manager/0b491b460f52e87e23eb17bbf59c6ae64b7664c1";
  inputs.nixpkgs.follows = "nixpkgs";
};

If you’re not intentionally using the latest version of home-manager, replace the commit hash with your NixOS version.

Thanks!

That did work. Should I file it as an error?

I don’t think so.

You should not be mixing stable nixpkgs and unstable home-manager. That is why you got the error because unstable home-manager is using a feature that is only present in unstable nixpkgs. Fixing your input to a commit does mean you will not get any (security) updates that are back ported to stable home-manager.

1 Like

I am using both stable and unstable nixpkgs:

{
  description = "Nixos config flake";

  inputs = {
    nixpkgs-unstable = {
      url = "github:nixos/nixpkgs/nixos-unstable";
    };
    nixpkgs-24-11 = {
      url = "github:nixos/nixpkgs/nixos-24.11";
    };
    nix-flatpak = {
      url = "github:gmodena/nix-flatpak/";
    };
    home-manager = {
    #  url = "github:nix-community/home-manager";
      url = "github:nix-community/home-manager/0b491b460f52e87e23eb17bbf59c6ae64b7664c1";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    nix-index-db = {
      url = "github:nix-community/nix-index-database";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    plasma-manager = {
      url = "github:nix-community/plasma-manager";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
      inputs.home-manager.follows = "home-manager";
    };
    nixos-cosmic = {
      url = "github:lilyinstarlight/nixos-cosmic";
      inputs.nixpkgs.follows = "nixos-cosmic/nixpkgs";
    };
    cosmic-manager = {
      url = "github:HeitorAugustoLN/cosmic-manager";
      inputs = {
        nixpkgs.follows = "nixpkgs-unstable";
        home-manager.follows = "home-manager";
      };
    };
  };

Is this a problem?

Depends on how you use it. Especially which module system and libs you use.

Thank you, but could you be more specific? I am not very good at flaking nor nixing. Can you send me, perhaps, some link to documentation?

Could you share your config? At least the areas where you use nixpkgs or unstable?

Sure.
This is my flake:

{
  description = "Nixos config flake";

  inputs = {
#    nixpkgs.follows = "nixos-cosmic/nixpkgs";
    nixpkgs-unstable = {
      url = "github:nixos/nixpkgs/nixos-unstable";
    };
    nixpkgs-24-11 = {
      url = "github:nixos/nixpkgs/nixos-24.11";
    };
    nix-flatpak = {
      url = "github:gmodena/nix-flatpak/";
    };
    home-manager = {
    #  url = "github:nix-community/home-manager";
      url = "github:nix-community/home-manager/0b491b460f52e87e23eb17bbf59c6ae64b7664c1";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    nix-index-db = {
      url = "github:nix-community/nix-index-database";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    plasma-manager = {
      url = "github:nix-community/plasma-manager";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
      inputs.home-manager.follows = "home-manager";
    };
    nixos-cosmic = {
      url = "github:lilyinstarlight/nixos-cosmic";
#      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    cosmic-manager = {
      url = "github:HeitorAugustoLN/cosmic-manager";
      inputs = {
        nixpkgs.follows = "nixpkgs-unstable";
        home-manager.follows = "home-manager";
      };
    };
  };
  outputs = {
      self,
      nixpkgs,
      nixpkgs-unstable,
      nixpkgs-24-11,
      nix-flatpak,
      home-manager,
      nix-index-db,
      plasma-manager,
      nixos-cosmic,
      cosmic-manager,
      ...
    }@inputs:
    let
      system = "x86_64-linux";
      args = {
        inherit inputs;
        inherit system;
        pkgs-unstable = import nixpkgs-unstable {
          inherit system;
          config.allowUnfree = true;
        };
        pkgs-24-11 = import nixpkgs-24-11 {
          inherit system;
          config.allowUnfree = true;
        };
      };
      speciArgs = {
        inherit inputs;
        inherit system;
        pkgs-unstable = import nixpkgs-unstable {
          inherit system;
          config.allowUnfree = true;
        };
        pkgs-24-11 = import nixpkgs-24-11 {
          inherit system;
          config.allowUnfree = true;
        };
        flake-inputs = inputs;
      };
      in
    {
      nixosConfigurations = {
### dell-1 ###
        dell-1 = nixpkgs.lib.nixosSystem {
          specialArgs = args;
          modules = [
            nix-flatpak.nixosModules.nix-flatpak
            home-manager.nixosModules.home-manager
            {
              home-manager = {
                useGlobalPkgs = true;
                useUserPackages = true;
                extraSpecialArgs = speciArgs;
                sharedModules = [
                  plasma-manager.homeManagerModules.plasma-manager
                  cosmic-manager.homeManagerModules.cosmic-manager
                ];
                users = {
                  jeansibelius = import ./home-manager/jeansibelius/home.nix;
                  rozawielecka = import ./home-manager/rozawielecka/home.nix;
                  jacekrozycki = import ./home-manager/jacekrozycki/home.nix;
                  rozliczenia = import ./home-manager/rozliczenia/home.nix;
                };
              };
            }
            nix-index-db.nixosModules.nix-index
            nixos-cosmic.nixosModules.default
            ./configuration.nix
            ./dell-1/import.nix
          ];
        };
### dell-2 ###
        dell-2 = nixpkgs.lib.nixosSystem {
          specialArgs = args;
          modules = [
            nix-flatpak.nixosModules.nix-flatpak
            home-manager.nixosModules.home-manager
            {
              home-manager = {
                useGlobalPkgs = true;
                useUserPackages = true;
                extraSpecialArgs = args;
                sharedModules = [
                  plasma-manager.homeManagerModules.plasma-manager
                  cosmic-manager.homeManagerModules.cosmic-manager
                ];
                users = {
                  jeansibelius = import ./home-manager/jeansibelius/home.nix;
                  rozawielecka = import ./home-manager/rozawielecka/home.nix;
                #  jacekrozycki = import ./home-manager/jacekrozycki/home.nix;
                 # rozliczenia = import ./home-manager/rozliczenia/home.nix;
                };
              };
            }
            nix-index-db.nixosModules.nix-index
            nixos-cosmic.nixosModules.default
            ./configuration.nix
            ./dell-2/import.nix
          ];
        };
### dell-3 ###
        dell-3 = nixpkgs.lib.nixosSystem {
          specialArgs = args;
          modules = [
            nix-flatpak.nixosModules.nix-flatpak
            home-manager.nixosModules.home-manager
            {
              home-manager = {
                useGlobalPkgs = true;
                useUserPackages = true;
                extraSpecialArgs = args;
                sharedModules = [
                  plasma-manager.homeManagerModules.plasma-manager
                  cosmic-manager.homeManagerModules.cosmic-manager
                ];
                users = {
                  jeansibelius = import ./home-manager/jeansibelius/home.nix;
                  rozawielecka = import ./home-manager/rozawielecka/home.nix;
                  jacekrozycki = import ./home-manager/jacekrozycki/home.nix;
                  rozliczenia = import ./home-manager/rozliczenia/home.nix;
                };
              };
            }
            nix-index-db.nixosModules.nix-index
            nixos-cosmic.nixosModules.default
            ./configuration.nix
            ./dell-3/import.nix
          ];
        };
      };
    };
}

configuration.nix is in several files, so I’ll try to find only those with nixpkgs. This is my general packages file (for whole system):

{ config, pkgs-unstable, pkgs-24-11, lib, ...}:

{
#  imports = [ ./kde-packages.nix ];

  nixpkgs.config.allowUnfree = true;
  environment = {
    systemPackages = [
      pkgs-24-11.kdePackages.partitionmanager
      pkgs-24-11.kdePackages.skanpage
#      pkgs-24-11.kdePackages.kalarm

      pkgs-24-11.libreoffice
      pkgs-24-11.jre8
      pkgs-24-11.audacity
      pkgs-unstable.home-manager
      pkgs-24-11.kitty

#      pkgs-24-11.rustdesk
#      pkgs-unstable.rustdesk

      pkgs-unstable.onedrive
      pkgs-unstable.vlc

      pkgs-24-11.vscodium

      pkgs-24-11.appimage-run

      pkgs-24-11.emacs
      pkgs-unstable.vulnix
      pkgs-unstable.vim
      pkgs-unstable.ctop
      pkgs-unstable.ftop
      pkgs-unstable.atop
      pkgs-unstable.htop
      pkgs-unstable.btop
      pkgs-unstable.iftop
      pkgs-unstable.powertop
      pkgs-unstable.sl
      pkgs-unstable.fastfetch
      pkgs-24-11.gptfdisk
      pkgs-24-11.usbutils
      pkgs-24-11.exfatprogs
      pkgs-24-11.tree
      pkgs-24-11.lm_sensors
      pkgs-24-11.killall
      pkgs-24-11.stress
      pkgs-24-11.s-tui
      pkgs-24-11.stress-ng
      pkgs-24-11.memtester
      pkgs-unstable.ncdu
      pkgs-unstable.nnn
      pkgs-unstable.fff
      
      pkgs-24-11.ventoy-full
    ];
  };

  services = {
    flatpak = {
      enable = true;
      update = {
        auto = {
          enable = true;
          onCalendar = "daily";
        };
      };
      packages = [
        "com.rustdesk.RustDesk"                     # RustDesk
        "com.github.tchx84.Flatseal"                # Flatseal
        "org.signal.Signal"                         # Signal
        "com.spotify.Client"                        # Spotify
        # browsers:
        "one.ablaze.floorp"                         # Floorp
        "com.vivaldi.Vivaldi"                       # Vivaldi
/*
        "us.zoom.Zoom"                              # Zoom
        "org.audacityteam.Audacity"                 # Audacity
        "org.videolan.VLC"                          # VLC
        "net.nokyan.Resources"                      # Resources
        "org.asamk.SignalCli"                       # Signal cli
        "com.github.IsmaelMartinez.teams_for_linux" # Teams
        "org.gnome.Logs"                            # Logs
        "com.nextcloud.desktopclient.nextcloud"     # Nextcloud desktop
        "com.play0ad.zeroad"                        # 0 A. D.
        "dev.tchx84.Gameeky"                        # Gameeky
*/
      ];
    };
  };
}

This is my home.nix (here I import other files and declare packages):

{config, pkgs, pkgs-24-11, pkgs-unstable, inputs, ...}:

{
  imports = [
    ../shared/shared.nix
    ./systemd-services.nix
    ./plasma-manager/plasma-manager.nix
    ./hyprland/hyprland.nix
    ./syncthing/syncthing.nix
    ./fusuma/fusuma.nix
    ./cosmic/cosmic.nix
    inputs.nix-flatpak.homeManagerModules.nix-flatpak
  ];

  home = {
    stateVersion = "24.11";
    username = "jeansibelius";
    homeDirectory = "/home/jeansibelius";
    packages = [
      pkgs-unstable.musescore
      pkgs-unstable.muse-sounds-manager
      pkgs-24-11.frescobaldi

      pkgs-unstable.gimp

      pkgs-unstable.flameshot
      pkgs-unstable.eaglemode
      pkgs-unstable.zathura

      pkgs-unstable.youtube-tui

      pkgs-24-11.libreoffice
      pkgs-24-11.teams-for-linux
      pkgs-24-11.lmms
      pkgs-unstable.lynx

#      pkgs-unstable.libwebp # converts webp into jpg

      pkgs-unstable.tagainijisho

      pkgs-unstable.protonvpn-gui
      pkgs-unstable.protonmail-desktop
      pkgs-unstable.proton-pass
      pkgs-24-11.yt-dlp

      pkgs-24-11.mindustry-wayland
      pkgs-unstable.asc

      pkgs-24-11.ventoy-full
    ];
  };
  services.flatpak.packages = [
    "com.usebottles.bottles"                    # Bottles
    "com.discordapp.Discord"                    # Discord
    "de.haeckerfelix.Shortwave"                 # Shortwave
    "org.raspberrypi.rpi-imager"                # Raspberry Pi imager
    "org.freac.freac"                           # Fre:ac
    "com.valvesoftware.Steam"                   # Steam
    "app.zen_browser.zen"                       # Zen
    "io.freetubeapp.FreeTube"                   # Youtube
    "org.supertuxproject.SuperTux"              # SuperTux
  ];

  programs = {
    git = {
      enable = true;
      userName  = "xxxxxxxxx";
      userEmail = "xxxxxxxxx";
    };
    obs-studio = {
      enable = true;
    };
    emacs = {
      enable = true;
      package = pkgs-unstable.emacs;
    };
  };
}

(Every user on my laptops has used nixpkgs in their home.nix, should I show those files also?)
This is my Hyprland config:

{ config, lib, pkgs, pkgs-24-11, pkgs-unstable, osConfig, ... }:
{
  home.packages = [
    pkgs-unstable.waybar
    pkgs-unstable.wofi
  ];
  programs.kitty.enable = true;

  wayland.windowManager.hyprland = {
    enable = true;
    xwayland.enable = true;
    settings = {
      exec-once = [
        "waybar"
      ];
      lib.mkMerge = [
        (lib.mkIf (osConfig.networking.hostName == "dell-1") {
          monitor = [
            "eDP-1, 1366x768@60, 0x0, 1"
            "HDMI-A-1, 1920x1080@100, 0x0, 1"
          ];
        })
        (lib.mkIf (osConfig.networking.hostName == "dell-3") {
          monitor = "eDP-1, 1920x1080@120, 0x0, 1";
        })
      ];

      # keybindings:
      "$mod" = "SUPER";
      bindr = [
        "$mod, SUPER_L, exec, wofi --show run"
        "$mod, K, exec, kitty"
        "$mod, E, exec, hyprctl dispatch exit"
        "$mod, V, exec, com.vivaldi, Vivaldi"
        "$mod, N, exec, com.vivaldi.Vivaldi.desktop"
        "$mod, B, exec, brave"
        "$mod, F, exec, one.ablaze.floorp"
        "$mod, H, exec, systemctl hibernate"
        "$mod, C, exec, closewindow"
      ];
      input = {
        natural_scroll = "true";
        touchpad.natural_scroll = "true";
      };
    };
  };
  services.hyprpaper = {
    enable = true;
    settings = {
      # wallpaper:
      "$wallpaper" = "~/.config/home-manager/hyprland/wallpaper/nausicaa.jpg";
      preload = "$wallpaper";
      wallpaper = ", $wallpaper"; 
    };   
  };
}

Please let me know if there is something hacky in here, I would love to hear your thoughts!

Everywhere you use nixpkgs.lib.nixosSystem you should be using the actual name of your input: nixpkgs-unstable.lib.nixosSystem. nixpkgs is pulling from the registry here, bad idea, it makes your lockfile useless and makes your config take longer to eval and build, because you now have an extra nixpkgs instance.

Also if you’re going to use nixos-unstable branch anyway, why do you have stable as an input at all? Mixing is generally a bad idea.

Thank you for your answer, I changed nixpkgs.lib… to nixpkgs-unstable.lib… but it gives me this error:

[root@dell-1:~]# nixos-rebuild switch 
building the system configuration...
error:
       … while calling the 'head' builtin
         at /nix/store/isfbldda5j8j6x3nbv1zim0c0dpf90v8-source/lib/attrsets.nix:1534:13:
         1533|           if length values == 1 || pred here (elemAt values 1) (head values) then
         1534|             head values
             |             ^
         1535|           else

       … while evaluating the attribute 'value'
         at /nix/store/isfbldda5j8j6x3nbv1zim0c0dpf90v8-source/lib/modules.nix:1084:7:
         1083|     // {
         1084|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1085|       inherit (res.defsFinal') highestPrio;

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

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

       … while evaluating the option `xdg.portal.extraPortals':

       … while evaluating definitions from `/nix/store/830vpfdvpg01kgz3r9w6flb67zpig8p3-source/configuration.nix':

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

       error: The top-level xdg-desktop-portal-kde alias has been removed.

       Please explicitly use kdePackages.xdg-desktop-portal-kde for the latest Qt 6-based version,
       or libsForQt5.xdg-desktop-portal-kde for the deprecated Qt 5 version.

       Note that Qt 5 versions of most KDE software will be removed in NixOS 25.11.

[root@dell-1:~]# 

I want to be able to install packages from stable branch. Some of them are really buggy (e. g. ProtonVPN).

Hello, sorry to hijack a thread but I have such a similar problem I think it could be better here. I have a flake that provides configurations for a nixos system and a darwin system. My nixos system builds fine, but my darwin system has this .xml format missing error. I only have the unstable nixpkgs as an input to my flake, and so I believe the error must be in having an incorrect instance of nixpkgs be called.

Here is my flake:

{
  # https://github.com/anotherhadi/nixy
  description = ''
  My NixOS + Darwin system configuration.
  '';

  inputs = {

    ### NixOS ###

    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

    hyprland.url = "github:hyprwm/Hyprland";
    
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    nixvim = {
      url = "github:nix-community/nixvim";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    swww = {
      url = "github:LGFae/swww";
    };
    
    matugen = {
      url = "github:/InioX/Matugen";
    };

    nvf = {
      url = "github:notashelf/nvf";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    ### Darwin ###

    darwin = {
      url = "github:LnL7/nix-darwin/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    nix-homebrew = {
      url = "github:zhaofengli-wip/nix-homebrew";
    };
    homebrew-bundle = {
      url = "github:homebrew/homebrew-bundle";
      flake = false;
    };
    homebrew-core = {
      url = "github:homebrew/homebrew-core";
      flake = false;
    };
    homebrew-cask = {
      url = "github:homebrew/homebrew-cask";
      flake = false;
    };

    oheuter-tap = {
      url = "github:ohueter/homebrew-tap";
    flake = false;
    };
  };

  outputs = inputs@{ self, nixpkgs, nix-darwin, nix-homebrew, homebrew-bundle, homebrew-core, homebrew-cask, home-manager, ...}: 
    let
      user = "miga";
      system = "x86_64-linux";
    in
    {

     # Ignoring the nixosSystem

      darwinConfigurations."pulentito" = nix-darwin.lib.darwinSystem {
        specialArgs = {inherit inputs; inherit self;};
        modules = [
          home-manager.darwinModules.home-manager
          nix-homebrew.darwinModules.nix-homebrew
          {
            nix-homebrew = {
              inherit user;
              enable = true;
              taps = {
                "homebrew/homebrew-core" = homebrew-core;
                "homebrew/homebrew-cask" = homebrew-cask;
                "homebrew/homebrew-bundle" = homebrew-bundle;
                "oheuter/homebrew-tap" = inputs.oheuter-tap;
              };
              mutableTaps = false;
              autoMigrate = true;
            };
          }
          ./host/laptop/configuration.nix
        ];
      };
    };
}

The configuration.nix file sets up general system settings, and imports the home-manager configuration like so:

{ self, config, pkgs, ... }:
let user = config.var.username; in
{
  imports = [
    ../../darwin/home-manager.nix
    ../../darwin/nixpkgs.nix
    ../../darwin/utils.nix
    ../../darwin/fonts.nix
    ../../darwin/homebrew
    ./variables.nix
  ];

 # ... bunch of system settings

The nixpkgs.nix file is just used to allow unfree packages:

{ config, pkgs, ... }: {
  nixpkgs = {
    config = {
      allowUnfree = true;
      allowBroken = false;
      allowInsecure = false;
      allowUnsupportedSystem = false;
    };
  };
}

The home-manager.nix file must be where the issue is. I’m not sure if I’m doing a good job being neat and calling my functions properly:

{ inputs, config, pkgs, ... }:

let
  user = config.var.username;
in
{
  imports = [  ];

  # It me
  users.users.${user} = {
    name = "${user}";
    home = "/Users/${user}";
    shell = pkgs.zsh;
  };

  home-manager = {
    extraSpecialArgs = { inherit inputs; };
    useGlobalPkgs = true;
    users.${user} = import ../home/laptopconfig.nix;
  };
}

I then follow into the specific laptop configuration:

{ pkgs, ... }: {
  imports = import ./programs/shared ++ import ./programs/darwin;
  home.username = "miga";
  home.homeDirectory = "/Users/miga";
  home.stateVersion = "25.05";
  programs.home-manager = {
    enable = true;
  };
}

Is there a way I can tell which nixpkgs is being used in each function call? I tried doing nix registry list and found a ton of instances of nixpkgs for programs I haven’t even installed:

nix registry list
system flake:nixpkgs path:/nix/store/wzhdvy8pvcrfc1flrnhrbrpyb0q38pp8-source
global flake:agda github:agda/agda
global flake:arion github:hercules-ci/arion
global flake:blender-bin github:edolstra/nix-warez?dir=blender
global flake:bundlers github:NixOS/bundlers
global flake:cachix github:cachix/cachix
global flake:composable github:ComposableFi/composable
global flake:disko github:nix-community/disko
global flake:dreampkgs github:nix-community/dreampkgs
global flake:dwarffs github:edolstra/dwarffs
global flake:emacs-overlay github:nix-community/emacs-overlay
global flake:fenix github:nix-community/fenix
global flake:flake-parts github:hercules-ci/flake-parts
global flake:flake-utils github:numtide/flake-utils
global flake:helix github:helix-editor/helix
global flake:hercules-ci-agent github:hercules-ci/hercules-ci-agent
global flake:hercules-ci-effects github:hercules-ci/hercules-ci-effects
global flake:home-manager github:nix-community/home-manager
global flake:hydra github:NixOS/hydra
global flake:mach-nix github:DavHau/mach-nix
global flake:ngipkgs github:ngi-nix/ngipkgs
global flake:nickel github:tweag/nickel
global flake:nix github:NixOS/nix
global flake:nix-darwin github:nix-darwin/nix-darwin
global flake:nix-serve github:edolstra/nix-serve
global flake:nixops github:NixOS/nixops
global flake:nixos-anywhere github:nix-community/nixos-anywhere
global flake:nixos-hardware github:NixOS/nixos-hardware
global flake:nixos-homepage github:NixOS/nixos-homepage
global flake:nixos-search github:NixOS/nixos-search
global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable
global flake:nur github:nix-community/NUR
global flake:patchelf github:NixOS/patchelf
global flake:poetry2nix github:nix-community/poetry2nix
global flake:pridefetch github:SpyHoodle/pridefetch
global flake:sops-nix github:Mic92/sops-nix
global flake:systems github:nix-systems/default
global flake:templates github:NixOS/templates

Do you have any tips for fixing this? I would greatly appreciate it.