diff --git a/.tangled/workflows/nix-flake-check.yaml b/.tangled/workflows/nix-flake-check.yaml index 5ed809f..565e4ef 100644 --- a/.tangled/workflows/nix-flake-check.yaml +++ b/.tangled/workflows/nix-flake-check.yaml @@ -1,8 +1,8 @@ when: - - event: ["push", "manual"] - branch: ["stable", "develop", "feature/*", "refactor/*", "bugfix/*"] - - event: ["pull_request"] - branch: ["stable", "develop"] + - event: [ "push", "manual" ] + branch: [ "stable", "feature/*", "refactor/*", "bugfix/*" ] + - event: [ "pull_request" ] + branch: [ "stable" ] engine: "nixery" diff --git a/.tangled/workflows/nix-format-check.yaml b/.tangled/workflows/nix-format-check.yaml index 782b1fc..ae7a3e2 100644 --- a/.tangled/workflows/nix-format-check.yaml +++ b/.tangled/workflows/nix-format-check.yaml @@ -1,8 +1,8 @@ when: - - event: ["push", "manual"] - branch: ["stable", "develop", "feature/*", "refactor/*", "bugfix/*"] - - event: ["pull_request"] - branch: ["stable", "develop"] + - event: [ "push", "manual" ] + branch: [ "stable", "feature/*", "refactor/*", "bugfix/*" ] + - event: [ "pull_request" ] + branch: [ "stable" ] engine: "nixery" diff --git a/.tangled/workflows/nix-locker-check.yaml b/.tangled/workflows/nix-locker-check.yaml index cb8271c..ffb203e 100644 --- a/.tangled/workflows/nix-locker-check.yaml +++ b/.tangled/workflows/nix-locker-check.yaml @@ -1,8 +1,8 @@ when: - - event: ["push", "manual"] - branch: ["stable", "develop", "feature/*", "refactor/*", "bugfix/*"] - - event: ["pull_request"] - branch: ["stable", "develop"] + - event: [ "push", "manual" ] + branch: [ "stable", "feature/*", "refactor/*", "bugfix/*" ] + - event: [ "pull_request" ] + branch: [ "stable" ] engine: "nixery" diff --git a/.tangled/workflows/nix-statix-check.yaml b/.tangled/workflows/nix-statix-check.yaml new file mode 100644 index 0000000..a1737a2 --- /dev/null +++ b/.tangled/workflows/nix-statix-check.yaml @@ -0,0 +1,15 @@ +when: + - event: [ "push", "manual" ] + branch: [ "stable", "feature/*", "refactor/*", "bugfix/*" ] + - event: [ "pull_request" ] + branch: [ "stable" ] + +engine: "nixery" + +dependencies: + nixpkgs: + - statix + +steps: + - name: "Nix: run statix analysis" + command: "statix -- check ." diff --git a/.tangled/workflows/trufflehog-scan.yaml b/.tangled/workflows/trufflehog-scan.yaml index b0f0b0e..e65f325 100644 --- a/.tangled/workflows/trufflehog-scan.yaml +++ b/.tangled/workflows/trufflehog-scan.yaml @@ -1,8 +1,8 @@ when: - - event: ["push", "manual"] - branch: ["*"] - - event: ["pull_request"] - branch: ["*"] + - event: [ "push", "manual" ] + branch: [ "*" ] + - event: [ "pull_request" ] + branch: [ "*" ] engine: "nixery" diff --git a/modules/nixos/system/nix/default.nix b/modules/nixos/system/nix/default.nix index 10dc423..85ffcf6 100644 --- a/modules/nixos/system/nix/default.nix +++ b/modules/nixos/system/nix/default.nix @@ -50,7 +50,7 @@ in gc = { automatic = true; dates = "weekly"; - options = "--delete-older-than 3d"; + options = "--delete-older-than 14d"; }; package = mkIf cfg.use-lix pkgs.lix; # Enable LIX