Commit Graph

318 Commits

Author SHA1 Message Date
lassulus
2ed5842458 formats: repair kexec 2023-07-16 21:08:40 +02:00
Lassulus
9191c85aab
Merge pull request #256 from DavHau/all-formats 2023-07-07 16:02:47 +02:00
DavHau
34bbb3e12b chore(all-formats): make example more explicit
Remove the packages flake output
2023-07-04 10:50:48 +02:00
DavHau
27c86ee228 feat(all-formats.nix): add readme section and test 2023-07-03 14:06:57 +03:00
DavHau
f4a79d08d7 feat(all-formats.nix): add formatConfigs
While the `all-formats.nix` module allows to import all formats at once, it lacks an interface to customize formats or add formats.

This is fixed by adding the top-level option `formatConfigs` (attrsOf deferredModule).

All format modules created under `config.formatConfigs` are mapped so their outputs are available under `config.formats` which has also been moved to the top-level (previously `config.system.formats`).

Done:
- add option `formatConfigs`
- move option `system.formats` -> `formats`
- add test for customizing a format
2023-07-03 11:54:20 +03:00
github-actions[bot]
cf341a2c94 flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/b3ec8fb525fc0c8f08eff5ef93c684b4c6d0e777' (2023-06-25)
  → 'github:nix-community/nixpkgs.lib/a92befce80a487380ea5e92ae515fe33cebd3ac6' (2023-07-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a565059a348422af5af9026b5174dc5c0dcefdae' (2023-06-27)
  → 'github:NixOS/nixpkgs/cd99c2b3c9f160cd004318e0697f90bbd5960825' (2023-07-01)
2023-07-03 01:57:04 +00:00
github-actions[bot]
bde0bc291c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/07059ee2fa34f1598758839b9af87eae7f7ae6ea' (2023-06-25)
  → 'github:NixOS/nixpkgs/a565059a348422af5af9026b5174dc5c0dcefdae' (2023-06-27)
2023-06-29 01:44:09 +00:00
github-actions[bot]
844ce2ab9a flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/908af6d1fa3643c5818ea45aa92b21d6385fbbe5' (2023-06-18)
  → 'github:nix-community/nixpkgs.lib/b3ec8fb525fc0c8f08eff5ef93c684b4c6d0e777' (2023-06-25)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7b697d9698d5ae350e49e8eeb05c568708bdd9f0' (2023-06-21)
  → 'github:NixOS/nixpkgs/07059ee2fa34f1598758839b9af87eae7f7ae6ea' (2023-06-25)
2023-06-26 01:42:36 +00:00
github-actions[bot]
649171f56a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/91430887645a0953568da2f3e9a3a3bb0a0378ac' (2023-06-18)
  → 'github:NixOS/nixpkgs/7b697d9698d5ae350e49e8eeb05c568708bdd9f0' (2023-06-21)
2023-06-22 01:46:32 +00:00
dependabot[bot]
09140f23f5 build(deps): bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
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>
2023-06-19 14:04:03 +00:00
github-actions[bot]
d41dc1ad8c flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/961e99baaaa57f5f7042fe7ce089a88786c839f4' (2023-06-04)
  → 'github:nix-community/nixpkgs.lib/908af6d1fa3643c5818ea45aa92b21d6385fbbe5' (2023-06-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2e56a850786211972d99d2bb39665a9b5a1801d6' (2023-06-04)
  → 'github:NixOS/nixpkgs/91430887645a0953568da2f3e9a3a3bb0a0378ac' (2023-06-18)
2023-06-19 08:05:59 +00:00
Lassulus
44bf96c057
Merge pull request #250 from nix-community/garnix 2023-06-19 14:21:25 +07:00
mergify[bot]
4f72e489b8
Merge branch 'master' into garnix 2023-06-19 01:32:22 +00:00
Jörg Thalheim
2fb24c57cb update mergify configuration 2023-06-19 08:26:41 +07:00
Jörg Thalheim
31eb2a87d5 drop legacy flake schema 2023-06-19 08:25:31 +07:00
Jörg Thalheim
721f78afb4 switch to garnix ci for linux 2023-06-19 08:22:15 +07:00
Jörg Thalheim
a54683aa7e
Merge pull request #223 from pogobanane/master
improve nixosGenerate documentation
2023-06-16 15:13:01 +01:00
Jörg Thalheim
9fcfbef1ae
Merge pull request #248 from nix-community/mergify
switch from bors to mergify
2023-06-16 15:11:50 +01:00
Jörg Thalheim
1a2e8fcd11 switch from bors to mergify 2023-06-16 16:06:09 +02:00
Lassulus
f17fb67fc8
Merge pull request #241 from DavHau/all-formats 2023-06-13 10:16:55 +02:00
Lassulus
122dcc32ca
Merge pull request #243 from nix-community/update_flake_lock_action
flake.lock: Update
2023-06-05 07:45:44 +02:00
github-actions[bot]
bda8a077f0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/367c0e1086a4eb4502b24d872cea2c7acdd557f4' (2023-04-09)
  → 'github:nix-community/nixpkgs.lib/961e99baaaa57f5f7042fe7ce089a88786c839f4' (2023-06-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/aeb75dba965e790de427b73315d5addf91a54955' (2023-05-25)
  → 'github:NixOS/nixpkgs/2e56a850786211972d99d2bb39665a9b5a1801d6' (2023-06-04)
2023-06-05 00:52:46 +00:00
DavHau
0f203cabb3 Merge branch 'master' into all-formats 2023-05-30 16:17:09 +02:00
Lassulus
b6114e214e
Merge pull request #237 from nix-community/update_flake_lock_action 2023-05-30 13:40:48 +02:00
Lassulus
7abb7b6405
Merge pull request #240 from DavHau/improvements 2023-05-30 10:48:47 +02:00
DavHau
2091cad026 add format check 2023-05-30 10:21:34 +02:00
DavHau
c0889cabd9 update flake schema 2023-05-30 10:21:34 +02:00
DavHau
a377e95ee4 run nix flake check in CI 2023-05-30 10:21:34 +02:00
DavHau
fb30cf1cbe reformat all files 2023-05-30 10:21:34 +02:00
DavHau
121b5a7b38 add formatter to flake.nix 2023-05-30 10:21:34 +02:00
Lassulus
b3488033c0
Merge pull request #242 from nix-community/dependabot/github_actions/cachix/install-nix-action-21 2023-05-30 10:20:23 +02:00
lassulus
859c5d584c formats install-iso: remove isoName 2023-05-30 10:16:52 +02:00
Lassulus
6c22dec7b7
Merge pull request #238 from yanganto/master
make isoName default "nixos.iso"
2023-05-30 10:08:39 +02:00
Antonio Yang
7e391962ce set "nixos.iso" as default name for iso image 2023-05-30 15:35:56 +08:00
dependabot[bot]
6d21a21acc
build(deps): bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
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>
2023-05-29 13:56:56 +00:00
DavHau
32f0192366 move some broken formats to ./formats-broken
- kexec + kexec-bundle: tries accessing <nixpkgs>
- cloudstack: module eval error
2023-05-29 11:08:44 +02:00
DavHau
435e0d366f add checks for al formats 2023-05-29 11:05:09 +02:00
DavHau
9665903cf8 add all-formats.nix 2023-05-29 10:23:37 +02:00
DavHau
27efbe76ba add format check 2023-05-29 10:20:56 +02:00
DavHau
ef5c3a94b2 update flake schema 2023-05-29 09:50:23 +02:00
DavHau
0849633d73 run nix flake check in CI 2023-05-29 09:45:01 +02:00
DavHau
c1e0b7feec reformat all files 2023-05-29 09:35:13 +02:00
DavHau
55f78d04fc add formatter to flake.nix 2023-05-29 09:34:51 +02:00
Antonio Yang
62bb13bb6c add isoName option 2023-05-29 11:10:57 +08:00
github-actions[bot]
6a60d0db6b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/87f9156865ab09e3bde39aadb4131ae364ae704e' (2023-05-24)
  → 'github:NixOS/nixpkgs/aeb75dba965e790de427b73315d5addf91a54955' (2023-05-25)
2023-05-29 00:47:23 +00:00
Lassulus
05bef00479
Merge pull request #234 from nix-community/update_flake_lock_action
flake.lock: Update
2023-05-25 09:37:17 +02:00
github-actions[bot]
c2ddf22c09 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7e0743a5aea1dc755d4b761daf75b20aa486fdad' (2023-05-16)
  → 'github:NixOS/nixpkgs/87f9156865ab09e3bde39aadb4131ae364ae704e' (2023-05-24)
2023-05-25 00:44:12 +00:00
Lassulus
a9933ffcbc
Merge pull request #230 from nix-community/update_flake_lock_action
flake.lock: Update
2023-05-22 12:29:12 +02:00
github-actions[bot]
1b94dd1fc5 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/eb751d65225ec53de9cf3d88acbf08d275882389' (2023-05-07)
  → 'github:NixOS/nixpkgs/7e0743a5aea1dc755d4b761daf75b20aa486fdad' (2023-05-16)
2023-05-18 00:43:37 +00:00
Lassulus
1007933331
Merge pull request #229 from nix-community/update_flake_lock_action
flake.lock: Update
2023-05-08 09:15:31 +02:00