Austin Horstman
5adc1a51a2
ci: use flake lock for tests
...
Ensure we don't have surprise breakages and can test against a specific
lock file.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-02 22:58:05 -05:00
Matt Sturgeon
6abf27943b
ci: set a more useful update PR body
...
The default body contains instructions for triggering GitHub Actions,
which aren't relevant when pushing the PR as a GitHub App.
2025-06-01 16:03:59 -05:00
Matt Sturgeon
9882f43f9b
ci: switch to a GitHub App
...
This will do actions as a bot user, but will still trigger CI.
Its tokens are short lived, so more secure than a PAT that doesn't
expire.
2025-06-01 16:03:59 -05:00
Austin Horstman
cc8896c321
ci: remove literalExpression step
...
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-31 00:01:48 -05:00
Austin Horstman
7ccda8574f
ci: labels dedupe and reorganize
...
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-30 23:41:50 -05:00
Austin Horstman
5118087a15
ci: sort label categories
...
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-30 23:41:50 -05:00
Austin Horstman
b6bd7c629f
ci: add more modules to labeler
...
Lots of missing modules from existing categories. Adding some more.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-30 23:41:50 -05:00
Matt Sturgeon
6d09fd37a7
ci: alternative fix for backport if condition ( #7169 )
...
Can't access secrets from if condition, so we'll explicitly check this
isn't a fork.
2025-05-30 20:28:34 -05:00
Austin Horstman
b65126fa71
ci: fix backport if condition ( #7167 )
...
Can't access secrets from if condition.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-30 19:26:52 -05:00
Matt Sturgeon
7c60ea0296
ci: add 'GitHub App' TODO to update workflow
...
Using a GitHub App is more secure and idiomatic than using a
Personal Access Token or SSH Deploy Key.
See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
and https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens
2025-05-30 18:40:49 -05:00
Matt Sturgeon
9d2ae59579
ci: add backport workflow
...
Based on the workflow used by nixpkgs and others.
2025-05-30 18:40:49 -05:00
Sumner Evans
8fc1e46ab6
github: remove Sumner as automatic assignee on issues ( #7122 )
...
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2025-05-24 15:42:23 -05:00
awwpotato
3f591550a9
formatter: remove script, add treefmt.toml + keep-sorted ( #7056 )
...
currently ./format does a bunch of stuff with git that was only necessary for nixfmt but not nixfmt-tree, so I deleted it (just use treefmt command directly instead). I also added keep sorted to keep the really long module lists sorted (already used in nixpkgs).
2025-05-20 12:42:51 -05:00
dependabot[bot]
45c2985644
ci: bump DeterminateSystems/update-flake-lock from 24 to 25 ( #7091 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 24 to 25.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v24...v25 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-version: '25'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 16:07:18 -05:00
awwpotato
8d832ddfda
foliate: init ( #7049 )
2025-05-13 12:05:32 -05:00
pancho horrillo
cbd8e8e9a0
PR_TEMPLATE: update example for module maintainer ( #7011 )
...
Update the permalink to show a version of the module that follows
current best practices (no `with lib;`, and nixfmt’d).
2025-05-09 08:21:59 -05:00
Andrew Marshall
708074ae6d
treewide: Prevent IFD by default
...
Import-from-derivation (IFD) has problematic performance, and is disabled in
Nixpkgs by policy. It is arguably good practice for libraries to avoid
it whenever possible, as it has poor ergonomics in some cases,
especially with dry builds, as it requires multiple eval+build phases.
As such, prevent its use in Home Manager by default by putting existing
tests that use IFD behind a config. In CI, run a first pass with IFD
disabled, skipping tests without the config. Then run a second pass with
IFD enabled and including tests with the config. This second pass will
also run tests without the config, but they should be cached from the
previous run, so the cost is not double (only eval time should be paid
twice). It’s necessary to change from using NMT’s `run` to `build` as
`run` itself uses IFD.
Of the tests that have the config:
- kitty/theme-to-themeFile: this is a test for deprecated config, and so
should be removed eventually anyway
- podman: the implementation relies on IFD to create individual systemd
units from the derivation output, and so it is not straightforward to
remove the IFD; doing so would require rethinking how the module works
to instead have the systemd unit files included as-is rather than as
individually configured units in the Nix config.
2025-05-07 10:34:18 -05:00
Robert Helgesson
1298a3418b
ci: remove release-24.05 from dependabot setup
2025-05-02 09:07:04 +02:00
awwpotato
59de2dfb0a
workflows: only run conflicts and update flake on main repo ( #6893 )
2025-04-23 11:25:45 -05:00
Matthieu Coudron
b99e3e46b8
ci: fixed redundant rule ( #6883 )
2025-04-22 17:52:24 -05:00
Matthieu Coudron
b925865c74
ci: label msmtp changes with "mail" ( #6881 )
2025-04-22 18:32:11 +02:00
awwpotato
be4e5ec62c
nix-init: add module ( #6864 )
...
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2025-04-21 12:25:56 -05:00
awwpotato
496fa9c054
PR_TEMPLATE: mention nix fmt ( #6859 )
2025-04-20 18:05:56 -05:00
Austin Horstman
ae84885d9b
workflows/conflicts: init ( #6845 )
...
Add labeler for merge conflicts
2025-04-18 22:23:32 -05:00
Austin Horstman
307281bfda
labeler: expand labels ( #6846 )
...
Add rules, fill in missing files for existing rules.
2025-04-18 22:23:21 -05:00
Austin Horstman
760eed5959
flake.nix: remove treefmt-nix input ( #6782 )
...
Removing input until I have time to migrate usage to a dev flake for all
the dev dependencies.
2025-04-08 13:52:13 -05:00
Austin Horstman
5df48c4255
flake.nix: add formatter check
2025-04-08 08:50:05 -07:00
dependabot[bot]
18e7d54899
ci: bump cachix/cachix-action from 15 to 16 ( #6644 )
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 15:24:45 -05:00
dependabot[bot]
eae06a96af
ci: bump cachix/install-nix-action from 30 to 31 ( #6643 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 30 to 31.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v30...v31 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 14:53:43 -05:00
Austin Horstman
91f88408cc
.github/workflows/test.yml: enable darwin tests
2025-03-09 00:44:11 -06:00
Matthieu Coudron
3f08cd8ef7
ci: add labels for firefox ( #6520 )
2025-03-04 22:14:44 +01:00
Robert Helgesson
c5c2cbc866
ci: tweak test command slightly
...
Specifically, increase initial GC heap size and allow parallel build
jobs.
2025-02-04 23:44:07 +01:00
Robert Helgesson
1b9fe46e9f
home-manager: move tests into new test flake
...
Having the tests available in the main Nix Flake introduces
unnecessary evaluation for non-developer users and, worse, a
dependency on the nmt library.
Fixes #6354
2025-01-24 22:31:22 +01:00
Robert Helgesson
0918bb0238
ci: make dependabot consider release-24.11
2024-11-17 23:31:31 +01:00
dependabot[bot]
bc623830e6
ci: bump cachix/install-nix-action from 27 to 30
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 27 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v27...v30 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 11:44:28 +02:00
Robert Helgesson
21c021862f
ci: disable the tests for macos
...
They have been broken for a long time now and makes the PR flow quite
cumbersome. Thus we disable them until somebody is able to get them to
work again.
2024-09-23 19:15:45 +02:00
dependabot[bot]
6b1912380e
ci: bump DeterminateSystems/update-flake-lock from 23 to 24
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 23 to 24.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v23...v24 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 09:43:17 +02:00
Robert Helgesson
d2493de5cd
ci: remove 23.11 from dependabot
2024-09-18 00:14:15 +02:00
dependabot[bot]
ef74bacbb4
ci: bump DeterminateSystems/update-flake-lock from 22 to 23
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 22 to 23.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 11:49:15 +02:00
Sumner Evans
2cacdd6a27
ci/labeler: fix upgrade to v5 format
...
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-06-04 08:39:30 +02:00
Sumner Evans
1a577c135c
ci/labeler: upgrade to v5 format
...
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-06-04 08:32:53 +02:00
Sumner Evans
07b2c41d2d
ci: bump all actions versions ( #5496 )
...
* cachix/install-nix-action: v23 -> v27
Release: https://github.com/cachix/install-nix-action/releases/tag/v27
* actions/labeler: v4 -> v5
Release: https://github.com/actions/labeler/releases/tag/v5.0.0
* DeterminateSystems/update-flake-lock: v21 -> v22
Release: https://github.com/DeterminateSystems/update-flake-lock/releases/tag/v22
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-06-03 22:41:47 -06:00
dependabot[bot]
6a35d1969e
ci: bump cachix/cachix-action from 13 to 15
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 13 to 15.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v15 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-26 10:13:35 +02:00
Robert Helgesson
850cb32204
ci: make dependabot consider the release-24.05
...
Also remove 23.05 from dependabot.
2024-05-23 11:45:08 +02:00
dependabot[bot]
1c43dcfac4
ci: bump peaceiris/actions-gh-pages from 3 to 4
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:42:51 +02:00
Robert Helgesson
3c7bacf1d4
ci: remove cachix action
...
All the extra binary cache lookups and uploads to Cachix make the
build quite a bit slower than necessary.
2024-03-06 08:42:21 +01:00
dependabot[bot]
23ff9821bc
ci: bump DeterminateSystems/update-flake-lock from 20 to 21
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 20 to 21.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 19:50:43 +01:00
Robert Helgesson
7403ed4980
home-manager: internalize uninstall
...
This adds a Boolean option `uninstall`. When enabled this option will
reset side-effecting configurations to their "empty" state. The intent
is that this will cause the activation script to remove all managed
files and packages.
Doing it this way should hopefully be more robust than the previous
solution. It also allows a somewhat more convenient uninstall process
when using Flakes; put `uninstall = true` in your existing
configuration and then do a switch.
Also add simple uninstall test in CI test job.
2024-01-13 00:32:31 +01:00
Jared Baur
26b8adb300
github: fix broken links
...
Current links to contributing and commit style guidelines are out of date.
2024-01-04 16:58:32 +01:00
dependabot[bot]
9a00befa13
ci: bump cachix/cachix-action from 12 to 13
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 09:08:54 +01:00