From d9c156dcc218931322067bb6332855cf40b04617 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Sun, 24 May 2026 12:17:46 +0200 Subject: [PATCH] dendritic: add statix for autoCleanup --- modules/applications/browser.nix | 2 +- modules/applications/hyprlandScripts.nix | 2 +- modules/applications/zsh.nix | 2 +- modules/utilities/autoCleanup.nix | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index 8ea7565..2b134d7 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -1,4 +1,4 @@ -{ inputs, self, ...}: { +{ self, ...}: { flake.nixosModules.browsers = { pkgs, pkgs-unstable, ...}: { environment.systemPackages = with pkgs; [ chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID. diff --git a/modules/applications/hyprlandScripts.nix b/modules/applications/hyprlandScripts.nix index ab6f8e4..5c0c97a 100644 --- a/modules/applications/hyprlandScripts.nix +++ b/modules/applications/hyprlandScripts.nix @@ -1,4 +1,4 @@ -{ pkgs-unstable, ...}: { # for some reason perSystem can't expose pkgs-unstable so we need to expose it here +{ ...}: { # for some reason perSystem can't expose pkgs-unstable so we need to expose it here # ----------------------------------------------------- # Here are a bunch of scripts that interact with hyprland # Some are still used. Some are broken. Some are deprecated. But I do still keep them in case I want to go back to old tools diff --git a/modules/applications/zsh.nix b/modules/applications/zsh.nix index d549653..db8773c 100644 --- a/modules/applications/zsh.nix +++ b/modules/applications/zsh.nix @@ -7,7 +7,7 @@ }; }; }; - flake.homeModules.zsh = {pkgs, pkgs-unstable,...}: { + flake.homeModules.zsh = {pkgs,...}: { home.packages = [ self.packages.${pkgs.system}.dejaManuallyDerived #pkgs-unstable.deja diff --git a/modules/utilities/autoCleanup.nix b/modules/utilities/autoCleanup.nix index 5ca0532..77ac4e8 100644 --- a/modules/utilities/autoCleanup.nix +++ b/modules/utilities/autoCleanup.nix @@ -1,8 +1,9 @@ { self, ... }: { - flake.nixosModules.autoCleanup-laptop = {pkgs, ...}: { + flake.nixosModules.autoCleanup-laptop = {pkgs, pkgs-unstable, ...}: { # Ensure your script is available system-wide environment.systemPackages = [ self.packages.${pkgs.system}.custom-cleanNix-laptop + pkgs-unstable.statix ]; users.users.tomasr = { linger = true; # lingering is required