Commit Graph

462 Commits

Author SHA1 Message Date
lassulus
fa146e1a15
Merge pull request #204 from tylerjl/qcow-efi
qcow-efi format with ESP mount and configurable diskSize
2024-02-20 11:11:16 +07:00
lassulus
a3978c8e12 don't clash with image settings in default configuration 2024-02-20 03:52:24 +00:00
github-actions[bot]
b483e6b70d flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/f5af57d3ef9947a70ac86e42695231ac1ad00c25' (2023-09-03)
  → 'github:nix-community/nixpkgs.lib/e623008d8a46517470e6365505f1a3ce171fa46a' (2024-02-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03)
  → 'github:NixOS/nixpkgs/045b51a3ae66f673ed44b5bbd1f4a341d96703bf' (2024-02-18)
2024-02-20 03:52:24 +00:00
lassulus
0aa24e93f7
Merge pull request #268 from Turmaxx/master
Added Missing Bracket in REAME and
2024-02-14 08:10:59 +07:00
lassulus
3b6bde6b87
Merge pull request #292 from jalseth/master
Add disk-size argument
2024-02-12 15:12:40 +07:00
James Alseth
4c7b914d1f Add disk-size argument
Many formats generate an image only large enough for the generated NixOS
config. This quickly runs out of space for NixOS servers that are updated
over time rather than being redeployed with fresh images.

Signed-off-by: James Alseth <james@jalseth.me>
2024-02-11 11:47:50 -08:00
Physics Enthusiast
843e2f04c7 Fix failing azure builds 2024-02-08 15:13:38 +00:00
Vladimir Pouzanov
13ff43edfb Fix the extension breaking the find query.
In af3d3a7538, filename was renamed to fileExtension and used in find -name. This breaks kexec as it used to have the actual file name glob in there.

Given it's the only file produced it seems safe to just remove the path component.
2024-02-08 11:16:16 +00:00
Vladimir Pouzanov
4d0bc031cc Restore the kexec funtionality 2024-02-08 11:16:16 +00:00
Jörg Thalheim
896f6589db
Merge pull request #284 from JeremiahSecrist/linode-fix
fix: extra install commands require full pathing on linode.nix script
2024-01-24 09:34:21 +01:00
dependabot[bot]
ed8ab00e8d build(deps): bump cachix/install-nix-action from 23 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...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>
2024-01-22 13:47:42 +00:00
Jeremiah S
d76f0910af
fix: extra install commands require full pathing 2024-01-18 21:46:09 -05:00
dependabot[bot]
521fb4cdd8 build(deps): bump DeterminateSystems/update-flake-lock from 19 to 20
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20)

---
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>
2024-01-16 10:16:01 +00:00
dependabot[bot]
b6bd1af7f1 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 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/v3...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>
2024-01-16 10:13:44 +00:00
Brook
d1c7e9a239 Updated README 2024-01-16 10:10:51 +00:00
dependabot[bot]
a71e0ec4b2 build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...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>
2024-01-16 10:10:40 +00:00
Jörg Thalheim
903227d439
Merge pull request #283 from nix-community/buildbot-update
Buildbot update
2024-01-16 11:08:27 +01:00
Jörg Thalheim
5e7fe98d48 disable aarch64 in CI for now 2024-01-16 11:00:01 +01:00
Jörg Thalheim
69d09aa44f update mergify configuration 2024-01-16 10:50:57 +01:00
Jörg Thalheim
73bb6747ef drop deprecated grub.version == 2 warning 2024-01-16 10:48:10 +01:00
Jörg Thalheim
6ca22f4f04 drop deprecated nixos-generators attribute 2024-01-16 10:48:00 +01:00
Lassulus
246219bc21
Merge pull request #282 from R-VdP/allow_override_nixosSystem
Allow overriding the nixosSystem function.
2023-12-04 12:33:36 +01:00
r-vdp
d73f9921bf
Allow overriding the nixosSystem function.
This is useful to add additional defaults or when nixpkgs was patched
and we want to use the patched module sources instead of this specified
in the flake inputs.
2023-12-04 10:52:33 +01:00
Tyler Langlois
f7aa484bca Merge branch 'master' into qcow-efi 2023-11-17 10:29:10 -07:00
Jörg Thalheim
150f38bd1e
Merge pull request #275 from nix-community/version
configuration: get rid of warnings
2023-09-30 08:18:23 +01:00
Jörg Thalheim
cb278b7eb5 checks: fix evaluation on hydra and nix-eval-jobs
both expects systems to be exported
2023-09-30 08:56:30 +02:00
Jörg Thalheim
866c15b90c configuration: get rid of warnings
Since we generate whole images we don't have state and can always go with the last.
2023-09-29 10:11:37 +02:00
Tyler Langlois
55431724c5 qcow-efi: define formatAttr as qcow-efi to avoid colliding with qcow 2023-09-18 12:50:03 -06:00
Tyler Langlois
1424032283 qcow-efi: support other arch console flags in kernelParams 2023-09-18 11:44:20 -06:00
Tyler Langlois
062cb2f555 qcow-efi: rename diskSize option to boot.diskSize
Ref: https://github.com/nix-community/nixos-generators/pull/204#discussion_r1088406722
2023-09-18 11:38:46 -06:00
Tyler Langlois
dd15e1f875 Merge branch 'master' into qcow-efi 2023-09-18 11:34:58 -06:00
github-actions[bot]
8ee7847002 flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/02fea408f27186f139153e1ae88f8ab2abd9c22c' (2023-07-16)
  → 'github:nix-community/nixpkgs.lib/f5af57d3ef9947a70ac86e42695231ac1ad00c25' (2023-09-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/29bcead8405cfe4c00085843eb372cc43837bb9d' (2023-07-15)
  → 'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03)
2023-09-04 01:35:38 +00:00
Lassulus
b1171de4d3
Merge pull request #265 from antonmosich/master 2023-07-23 19:30:35 +02:00
Anton Mosich
1e07d2a877 README: Fix typo, capitalize sentence beginnings 2023-07-23 19:08:50 +02:00
Lassulus
9fee0c2708
Merge pull request #263 from nix-community/flake_out_path 2023-07-22 16:35:03 +02:00
lassulus
af3d3a7538 rename filename to fileExtension 2023-07-22 16:20:50 +02:00
lassulus
efb2d33d4f formats *: set filename to the fileending 2023-07-21 14:58:38 +02:00
lassulus
3c949b3842 all-formats: link directly to filename 2023-07-21 13:03:22 +02:00
github-actions[bot]
11c9892996 flake.lock: Update
Flake lock file updates:

• Updated input 'nixlib':
    'github:nix-community/nixpkgs.lib/a92befce80a487380ea5e92ae515fe33cebd3ac6' (2023-07-02)
  → 'github:nix-community/nixpkgs.lib/02fea408f27186f139153e1ae88f8ab2abd9c22c' (2023-07-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cd99c2b3c9f160cd004318e0697f90bbd5960825' (2023-07-01)
  → 'github:NixOS/nixpkgs/29bcead8405cfe4c00085843eb372cc43837bb9d' (2023-07-15)
2023-07-17 01:48:42 +00: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