Nix config, last question

Last nix question, I apologize for the length.

I had kwin-force-blur flake working just fine. The moment I added something else to the config an rebuilt all was fine the blur still worked. But before bed like always ran garuda-update an shut down. Power on in the morning an the blur effect is gone. Changing the flake back to normal rebuilding an all that, nothing works. You can temporary restore it if you use the vary early generations on boot with the the “Nix All configurations” an picking a old one but after a reboot its gone again.

Making subflakes an all that for either flake doesn’t allow the force blur flake to build. I’ll but my configs below, but I don’t think there is any helping it.

Main Flake with just Force blur added

{
    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, garuda, nixpkgs, kwin-effects-forceblur, ... }:
    let
        system = "x86_64-linux";
    in
    {
        nixosConfigurations.elite-garuda = garuda.lib.garudaSystem {
            inherit system;
            modules = [
                ./configuration.nix
                {
                    environment.systemPackages = [
                        kwin-effects-forceblur.packages.${system}.default
                    ];
                }
            ];
        };
    };
}

Main flake with one extra flake added. This caused the force blur problem at least I think. (Going back to the first one does not fix the issue)

{
  description = "Garuda Linux Nix Subsystem Flake";

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

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

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

  outputs = { self, garuda, nixpkgs, kwin-effects-forceblur, aagl, ... }:
  let
    system = "x86_64-linux";
    lib = nixpkgs.lib;
  in
  {
    nixosConfigurations.elite-garuda = garuda.lib.garudaSystem {
      inherit system;
      modules = [
        ./configuration.nix
        {
          # Core system packages and Garuda-specific configurations
          environment.systemPackages = [
            kwin-effects-forceblur.packages.${system}.default
          ];


          imports = [ aagl.nixosModules.default ];
          nix.settings = aagl.nixConfig;

          # Enable aagl programs
          programs.honkers-railway-launcher.enable = false;
          programs.honkers-launcher.enable = true;
          programs.sleepy-launcher.enable = true;
        }
      ];
    };
  };
}

An last here is my Nix config. Though not pretty. (I thought to remove the apps section to make it smaller but I’m not sure if one of them might be causing the issue so I used the hide function.

configuration.nix
{ config, pkgs, lib, ... }:
with lib;
{
    imports = [
    ./hardware-configuration.nix
    ];
    # Do not remove these subsystem settings
    garuda.subsystem.enable = true;
    garuda.managed.config = ./garuda-managed.json;

    garuda.dr460nized.enable = true;

    # services.displayManager.sddm.enable = true;
    #services.displayManager.sddm.wayland.enable = true;

    # This should never be changed unless you know exactly what you are doing.
    # This has no impact on any package updates or OS version.
    system.stateVersion = "24.05";

  # Allow unfree packages
  nixpkgs.config.allowUnfree = true;
  services.flatpak.enable = true;
  programs.steam.enable = true;
  programs.fish.enable = true;
  services.dbus.enable = true;
  programs.nh.clean.enable = lib.mkForce false;

  services.udev.extraRules = (builtins.readFile "${pkgs.openrgb}/lib/udev/rules.d/60-openrgb.rules");
    # Set environment variables
   environment.variables = {
     LC_TIME = lib.mkForce "en_US.UTF-8";
      };

    # Enable automatic garbage collection
      nix.gc = {
        automatic = true;  # Enable automatic garbage collection
        dates = "weekly";  # Run garbage collection weekly
        options = "--delete-older-than 30d";
    };

 environment.systemPackages = with pkgs; [
  #  vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
  #  wget
     pkgs.fish
     pkgs.zsh
     pkgs.bash
     pkgs.tldr
     pkgs.kitty
     pkgs.librewolf
     pkgs.git
     pkgs.starship
     pkgs.lite-xl
     pkgs.superfile
     pkgs.ncmpcpp
     pkgs.kde-rounded-corners
     pkgs.inter
     pkgs.nitch
     pkgs.cava
     pkgs.fzf
     pkgs.geany
     pkgs.mpv
     pkgs.mpd
     pkgs.flatpak
     pkgs.pastel
     pkgs.pywal
     pkgs.python312Packages.pywal
     pkgs.python311Packages.pywal
     pkgs.telegram-desktop
     pkgs._64gram
     pkgs.svp
     pkgs.adwsteamgtk
     pkgs.steam
     pkgs.kdePackages.discover
     pkgs.kdePackages.flatpak-kcm
     pkgs.transmission_4-qt
     pkgs.protonup-qt
     pkgs.protontricks
     pkgs.winetricks
     pkgs.wine64
     pkgs.winePackages.fonts
     pkgs.protonmail-bridge-gui
     pkgs.heroic
     pkgs.nexusmods-app-unfree
     pkgs.servo
     pkgs.floorp
     pkgs.keepassxc
     pkgs.inkscape-with-extensions
     pkgs.krita
     pkgs.bitwig-studio3
     pkgs.devbox
     pkgs.thunderbird
     pkgs.hunspell
     pkgs.haruna
     pkgs.jetbrains-toolbox
     pkgs.calligra
     pkgs.lutris
     pkgs.libreoffice-qt6-fresh
     pkgs.micro
     pkgs.ocs-url
     pkgs.openrgb-with-all-plugins
     pkgs.photoqt
     pkgs.podman-desktop
     pkgs.podman
     pkgs.boxbuddy
     pkgs.distrobox
     pkgs.signal-desktop
     pkgs.smplayer
     pkgs.toot
     pkgs.tuisky
     pkgs.yazi-unwrapped
     pkgs.weechat
     pkgs.tor-browser
     pkgs.retroarch
     pkgs.wireplumber
     pkgs.kdePackages.yakuake
     pkgs.clinfo
     pkgs.vscodium
     pkgs.cool-retro-term
     pkgs.olive-editor
     pkgs.appimage-run
     pkgs.libappimage
     pkgs.davinci-resolve
     pkgs.python312Packages.kde-material-you-colors
     pkgs.gnome-disk-utility
     pkgs.uv
     pkgs.pipx
     pkgs.libgcc
     pkgs.python312Packages.dbus-python
     pkgs.libglibutil
     pkgs.kdePackages.extra-cmake-modules
     pkgs.cmake
     pkgs.kdePackages.koi
     pkgs.kdePackages.qtwebengine
     pkgs.kdePackages.oxygen
     pkgs.kdePackages.spectacle
     pkgs.kdePackages.systemsettings
     pkgs.polkit
     pkgs.kdePackages.kpipewire
     pkgs.libsForQt5.lightly
     pkgs.lightly-boehs
     pkgs.catnip
     pkgs.wireguard-tools
     pkgs.kdePackages.qtmultimedia
     pkgs.kdePackages.plasmatube
     pkgs.babelfish
     pkgs.kdePackages.kompare
     pkgs.piper
     pkgs.kdePackages.konversation
     pkgs.kdePackages.kconfig







  ];

hardware.graphics.extraPackages = with pkgs; [
  rocmPackages.clr.icd
];

programs.bash = {
  interactiveShellInit = ''
    if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
    then
      shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
      exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
    fi
  '';
};

garuda = {
    gaming.enable = true;
    performance-tweaks = {
      cachyos-kernel = true;
      enable = true;
    };
  };


}

In lieu of garuda-inxi


Operating System: NixOS 24.11
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 GRE

1 Like

A update on 11/17 from garuda-update fixed the issue. Not sure what but thank you!

1 Like

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