Commit graph

33 commits

Author SHA1 Message Date
seth
5b5648c10e
chore(modules): factor out option doc generation (#152)
* chore(modules): factor out option doc generation

* ci: only validate sources on pushes to main
2024-04-29 16:21:14 -04:00
Hammy
772bf7c2f9
ci: allow doc updates without PR (#140)
* ci: allow doc updates without PR

* ci: remove redundant `permissions` config
2024-04-22 14:28:51 -04:00
seth
850c26a3a2
ci: validate source changes in PRs (#113) 2024-04-11 22:48:24 -04:00
seth
844dcd5e20
ci: update repository name for doc generation 2024-04-10 02:00:08 -04:00
seth
4a8e1cdd07
ci: use --commit-changes with nvfetcher 2024-04-07 05:23:55 -04:00
dependabot[bot]
c62fc3ffa6
ci: bump DeterminateSystems/magic-nix-cache-action from 3 to 4 (#88)
Bumps [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action) from 3 to 4.
- [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases)
- [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: DeterminateSystems/magic-nix-cache-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-03-13 18:37:42 -04:00
seth
0a5ee580d8
ci: fix branch name in update-lock 2024-03-13 18:23:42 -04:00
seth
8d8ff5e820
ci: fix dependabot commit prefix 2024-03-13 18:21:50 -04:00
seth
ae03ce2c7a
ci: don't create multiple lockfile PRs 2024-03-13 18:21:33 -04:00
dependabot[bot]
9699536879
actions: bump cachix/install-nix-action from 25 to 26 (#87)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
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-03-13 18:08:35 -04:00
dependabot[bot]
71eb65bea3
actions: bump DeterminateSystems/magic-nix-cache-action from 2 to 3 (#78)
Bumps [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action) from 2 to 3.
- [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases)
- [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: DeterminateSystems/magic-nix-cache-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-03-13 18:08:18 -04:00
dependabot[bot]
948fe713ea
actions: bump cachix/install-nix-action from 24 to 25 (#72)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
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-02-05 08:43:02 -05:00
seth
aeb0dcbf6a
ci: cleanup all workflows (#71)
* ci: merge test-vm and format workflows

* ci: don't use matrix for doc gen

* ci: use inputs from dev flake
2024-01-11 16:47:25 -05:00
github-actions[bot]
3de3278dc3
chore: update lockfiles (#70)
* chore: update dev flake inputs

Flake lock file updates:

• Updated input 'call-flake':
    'github:divnix/call-flake/7d993ee93bd35a9e6574ec76d54b7d44087495ad' (2023-11-05)
  → 'github:divnix/call-flake/4ff3ef19aee2c030cf0986508711ba19ba006375' (2024-01-07)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6a8444467c83c961e2f5ff64fb4f422e303c98d3' (2023-11-07)
  → 'github:nix-community/home-manager/93e804e7f8a1eb88bde6117cd5046501e66aa4bd' (2024-01-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04)
  → 'github:NixOS/nixpkgs/317484b1ead87b9c1b8ac5261a8d2dd748a0492d' (2024-01-08)

* chore: update nvfetch sources

* ci: run test-vm on all lockfile updates

* fix(home-manager): use toml files for alacritty

* ci: fix typo in nvfetcher commit messages

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: seth <getchoo@tuta.io>
2024-01-11 16:23:27 -05:00
seth
8fa4fbd819
ci: push branch manually if needed 2024-01-11 15:55:06 -05:00
seth
97c9dfab96
ci: let gh know what remote to push to 2024-01-11 15:40:31 -05:00
seth
53676c67dd
ci: use --head flag to push lockfile branch 2024-01-11 15:27:09 -05:00
seth
f9bce7fbf0
ci: use github.token for updating lockfiles 2024-01-11 15:20:49 -05:00
dependabot[bot]
4a76ba2815
actions: bump google-github-actions/release-please-action from 3 to 4 (#63)
Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action) from 3 to 4.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases)
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/release-please-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: google-github-actions/release-please-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-17 00:11:59 +00:00
dependabot[bot]
19c4ec6064
actions: bump cachix/install-nix-action from 23 to 24 (#62)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
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>
2023-12-16 23:53:08 +00:00
seth
07e54f5b3c
feat: add subflake for development & testing (#64) 2023-12-16 23:38:36 +00:00
dependabot[bot]
5cb3e83bdd
actions: bump cachix/install-nix-action from 20 to 23 (#51)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v23)

---
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>
2023-11-03 12:14:41 -04:00
dependabot[bot]
545231cf22
actions: bump actions/checkout from 2 to 4 (#52)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-11-03 12:13:04 -04:00
seth
32c742bfce
ci: exclude some workflows from forks/branches & better scope permissions (#57) 2023-11-03 11:26:26 -04:00
seth
96e861b5ab
ci: fix revision for docs generation & add dependabot (#50)
* ci: fix revision for docs generation

* ci: add dependabot
2023-11-02 14:09:01 -04:00
seth
a30f0ff077
feat: limit use of IFD, add auto updates & vm testing (#40)
* feat(modules): remove unnecessary IFD

by moving all upstream repos to our flake inputs, we no longer need
to have [IFD](https://nixos.wiki/wiki/Import_From_Derivation) in most
of our modules - making evaluation faster for all configurations. the
only remaining instances of IFD are in `lib.ctp.toYAML` and the themes
for kitty, which is due to it's use upstream in home-manager

* ci: start auto updating flake inputs

* ci: init basic vm tests

* ci: rename ci to format

* ci: use PAT for update-lock workflow

this is required to run tests such as test-vm after the pull request is
made

* fix(home-manager): make sure to use readFile in helix module

* ci: fix typo in test-vm

* ci: use verbose logging in test-vm & enable kvm

* docs: add flake inputs & vm testing to CONTRIBUTING.md

* feat(modules)!: use nvfetcher for upstream sources

* docs: add information about nvfetcher

* chore: don't include flake-compat in flake inputs

while this does make us lose out on easy updating, i think it's nice not
  have this as a required dependency for flake users

* chore: update flake inputs

Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/f58889c07efa8e1328fdf93dc1796ec2a5c47f38' (2023-07-29)
  → 'github:nix-community/home-manager/48b0a30202516e25d9885525fbb200a045f23f26' (2023-11-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2a9d660ff0f7ffde9d73be328ee6e6f10ef66b28' (2023-07-28)
  → 'github:NixOS/nixpkgs/0cbe9f69c234a7700596e943bfae7ef27a31b735' (2023-10-29)

* chore: update nvfetcher sources

* refactor: don't instantiate nixpkgs in flake + cleanup vm test

* fix(home-manager): update paths from new lazygit theme revision

* feat(lib)!: use constant module arguments automatically
2023-11-02 13:55:47 -04:00
seth
a60d227622
feat: add autogenerated docs (#39)
* feat: add auto generated docs

* docs: init options docs
2023-07-29 08:40:13 -04:00
seth
1e95e1c7bc ci: use nix fmt 2023-06-03 21:11:10 -04:00
Sam Nystrom
a8981723bb
ci: add formatting check (#30)
This will help enforce a consistent coding style. The formatter used is `nixpkgs-fmt`.
2023-04-18 09:00:21 -04:00
Sam Nystrom
626e3dfe99
ci: add release-please workflow
Release please automates changelog and release notes generation for conventional commits.
2023-04-14 23:09:06 -04:00
Sam Nystrom
78b67b490d feat!: switch to NixOS/HM modules 2023-03-27 19:01:52 -04:00
Sam Nystrom
1b941a62ac ci: configure template 2023-03-26 21:55:36 -04:00
Sam Nystrom
fad8bd63ef feat: initial commit 2023-03-26 21:15:25 -04:00