Jörg Thalheim
68702da0b9
sd-aarch64: fix miss-predicted file extensions
2024-08-12 08:48:38 +02:00
DavHau
b9c5637760
all-formats: fix incorrect symlinks i.e. for sd-image formats
...
- output $out/$basename instead of $out being a symlink to the resulting file.
This works around problem where we cannot predict the file extension of the output reliably,
and therefore the direct symlink had the wrong extension in some cases.
- fix wrong file symlinked under $out for sd image formats
2024-08-12 08:48:05 +02:00
Jörg Thalheim
9a666f144f
all-formats: expose config for external introspection
2024-08-12 08:47:49 +02:00
Jörg Thalheim
a220fc3a6e
package.nix: add missing gawk
...
fixes https://github.com/nix-community/nixos-generators/issues/356
2024-08-12 06:36:50 +00:00
Jörg Thalheim
a12a28f636
default.nix: quote urls
2024-08-12 06:36:50 +00:00
github-actions[bot]
d6c5d29f58
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/81610abc161d4021b29199aa464d6a1a521e0cc9?narHash=sha256-TcXjLVNd3VeH1qKPH335Tc4RbFDbZQX%2Bd7rqnDUoRaY%3D' (2024-08-02)
→ 'github:NixOS/nixpkgs/f5129fb42b9c262318130a97b47516946da3e7d7?narHash=sha256-O/kxmybNecC3Efr6ITOdtCzFv90/B2Iiedavj5aRWt0%3D' (2024-08-07)
2024-08-08 00:52:25 +00:00
github-actions[bot]
c8c3a20b81
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/d15f6f6021693898fcd2c6a9bb13707383da9bbc?narHash=sha256-L8rwzYPsLo/TYtydPJoQyYOfetuiyQYnTWYcyB8UE/s%3D' (2024-07-28)
→ 'github:nix-community/nixpkgs.lib/8bebd4c74f368aacb047f0141db09ec6b339733c?narHash=sha256-do2Mfm3T6SR7a5A804RhjQ%2BJTsF5hk4JTPGjCTRM/m8%3D' (2024-08-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/038fb464fcfa79b4f08131b07f2d8c9a6bcc4160?narHash=sha256-Ul3rIdesWaiW56PS/Ak3UlJdkwBrD4UcagCmXZR9Z7Y%3D' (2024-07-28)
→ 'github:NixOS/nixpkgs/81610abc161d4021b29199aa464d6a1a521e0cc9?narHash=sha256-TcXjLVNd3VeH1qKPH335Tc4RbFDbZQX%2Bd7rqnDUoRaY%3D' (2024-08-02)
2024-08-05 00:54:11 +00:00
github-actions[bot]
75cbb2a5e1
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/31a99025ce3784c20dd11dafa5260e80e314f59e?narHash=sha256-/NjnIKkBoqKdvOS8unooDg0HqMaRUwYLbyn0ntjEckQ%3D' (2024-07-21)
→ 'github:nix-community/nixpkgs.lib/d15f6f6021693898fcd2c6a9bb13707383da9bbc?narHash=sha256-L8rwzYPsLo/TYtydPJoQyYOfetuiyQYnTWYcyB8UE/s%3D' (2024-07-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4f02464258baaf54992debfd010a7a3662a25536?narHash=sha256-UNDpwjYxNXQet/g3mgRLsQ9zxrbm9j2JEvP4ijF3AWs%3D' (2024-07-24)
→ 'github:NixOS/nixpkgs/038fb464fcfa79b4f08131b07f2d8c9a6bcc4160?narHash=sha256-Ul3rIdesWaiW56PS/Ak3UlJdkwBrD4UcagCmXZR9Z7Y%3D' (2024-07-28)
2024-07-29 00:53:40 +00:00
github-actions[bot]
c12f9a969c
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/1bba8a624b3b9d4f68db94fb63aaeb46039ce9e6?narHash=sha256-XFNKtyirrGNdehpg7lMNm1skEcBApjqGhaHc/OI95HY%3D' (2024-06-30)
→ 'github:nix-community/nixpkgs.lib/31a99025ce3784c20dd11dafa5260e80e314f59e?narHash=sha256-/NjnIKkBoqKdvOS8unooDg0HqMaRUwYLbyn0ntjEckQ%3D' (2024-07-21)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0aeab749216e4c073cece5d34bc01b79e717c3e0?narHash=sha256-0LD%2BKePCKKEb4CcPsTBOwf019wDtZJanjoKm1S8q3Do%3D' (2024-07-02)
→ 'github:NixOS/nixpkgs/4f02464258baaf54992debfd010a7a3662a25536?narHash=sha256-UNDpwjYxNXQet/g3mgRLsQ9zxrbm9j2JEvP4ijF3AWs%3D' (2024-07-24)
2024-07-25 01:04:47 +00:00
Jörg Thalheim
076ea5b672
Merge pull request #350 from jamesandariese/master
...
Fix nixosModules example
2024-07-13 10:28:46 +02:00
James Andariese
0846507ffa
Fix nixosModules example
...
Previously, it did not compile. The goal of the section appears to have been
to describe how to make a nixosModule that will imbue format magic upon
configurations referencing it. With that in mind, I also changed comments and
attribute names to make it more clear that the nixosConfiguration is using the
nixosModule rather than integral to it or vice versa.
2024-07-12 23:37:18 -05:00
github-actions[bot]
168b220231
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
→ 'github:NixOS/nixpkgs/0aeab749216e4c073cece5d34bc01b79e717c3e0?narHash=sha256-0LD%2BKePCKKEb4CcPsTBOwf019wDtZJanjoKm1S8q3Do%3D' (2024-07-02)
2024-07-04 01:04:03 +00:00
dependabot[bot]
140dcc2b9a
build(deps): 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>
2024-07-01 13:39:01 +00:00
github-actions[bot]
f7a029d41e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/f820613f886cd1aa4bcfd1dbaa6c83c8a3dcd863?narHash=sha256-kbTUy%2B/lfjUrMfV7JkTJwxowsFhi9Tb3BdbiOcIGcsc%3D' (2024-06-23)
→ 'github:nix-community/nixpkgs.lib/1bba8a624b3b9d4f68db94fb63aaeb46039ce9e6?narHash=sha256-XFNKtyirrGNdehpg7lMNm1skEcBApjqGhaHc/OI95HY%3D' (2024-06-30)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b3f3c1b13fb08f3828442ee86630362e81136bbc?narHash=sha256-u%2BD%2BIOAMMl70%2BCJ9NKB%2BRMrASjInuIWMHzjLWQjPZ6c%3D' (2024-06-26)
→ 'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
2024-07-01 01:10:08 +00:00
github-actions[bot]
1867f28f87
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/3c62b6a12571c9a7f65ab037173ee153d539905f?narHash=sha256-K6IkdtMtq9xktmYPj0uaYc8NsIqHuaAoRBaMgu9Fvrw%3D' (2024-04-07)
→ 'github:nix-community/nixpkgs.lib/f820613f886cd1aa4bcfd1dbaa6c83c8a3dcd863?narHash=sha256-kbTUy%2B/lfjUrMfV7JkTJwxowsFhi9Tb3BdbiOcIGcsc%3D' (2024-06-23)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/efe8ce06ca261f370d672def5b1e0be300c726e1?narHash=sha256-Ai/xNgZpbwGcw0TSXwEPwwbPi8Iu906sB9M9z3o6UgA%3D' (2024-04-07)
→ 'github:NixOS/nixpkgs/b3f3c1b13fb08f3828442ee86630362e81136bbc?narHash=sha256-u%2BD%2BIOAMMl70%2BCJ9NKB%2BRMrASjInuIWMHzjLWQjPZ6c%3D' (2024-06-26)
2024-06-27 01:03:56 +00:00
dependabot[bot]
35c20ba421
build(deps): bump DeterminateSystems/update-flake-lock from 21 to 22
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 21 to 22.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v21...v22 )
---
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-06-10 13:19:53 +00:00
dependabot[bot]
d14b286322
build(deps): bump cachix/install-nix-action from 26 to 27
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27 )
---
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-05-20 13:12:04 +00:00
lassulus
a63e0c83dd
Merge pull request #336 from nix-community/zstd
...
iso: default to zstd compression
2024-05-19 14:57:34 +02:00
Jörg Thalheim
bb76f39145
iso: default to zstd compression
...
For most users of nixos-generate zstd will be the better choice as
it will build and boot images much faster. Often users have to rebuild
images a couple of times before they are happy with the result.
NixOS might be better of with xz as it saves download and storage cost
for images.
2024-05-19 13:50:34 +02:00
Jörg Thalheim
722b512eb7
Merge pull request #333 from bam80/patch-1
...
nixos-generate: fix "specialArgs: command not found"
2024-04-22 12:53:54 +02:00
Andrey Butirsky
80f8f3fe0f
nixos-generate: fix "specialArgs: command not found"
...
$ nixos-generate --help
/nix/store/...-nixos-generate/bin/.nixos-generate-wrapped: line 25: specialArgs: command not found
Usage: /nix/store/...-nixos-generate/bin/.nixos-generate-wrapped [options]
...
2024-04-22 01:37:04 +03:00
github-actions[bot]
d942db8df8
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31)
→ 'github:nix-community/nixpkgs.lib/3c62b6a12571c9a7f65ab037173ee153d539905f' (2024-04-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e976fa8f49c35cf28496301a1ef2aa23ad576b56' (2024-04-02)
→ 'github:NixOS/nixpkgs/efe8ce06ca261f370d672def5b1e0be300c726e1' (2024-04-07)
2024-04-08 00:48:52 +00:00
github-actions[bot]
0c15e76bed
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29)
→ 'github:NixOS/nixpkgs/e976fa8f49c35cf28496301a1ef2aa23ad576b56' (2024-04-02)
2024-04-04 00:48:40 +00:00
github-actions[bot]
1f4c32ca42
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/b2a1eeef8c185f6bd27432b053ff09d773244cbc' (2024-03-24)
→ 'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
→ 'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29)
2024-04-01 00:51:20 +00:00
lassulus
63194fceaf
Merge pull request #328 from nix-community/ui-improvement
...
nixos-generate: switch to new nix build command for better logs
2024-03-28 12:42:21 +01:00
Jörg Thalheim
7998cdd448
nixos-generate: switch to new nix build command for better logs
...
nix-build doesn't print any logs when performs derivation looks up,
which might look like the build stalled.
2024-03-28 12:24:16 +01:00
github-actions[bot]
38beb364db
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
→ 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
2024-03-28 00:47:12 +00:00
lassulus
1e2a04b6fd
Merge pull request #326 from a-h/document-filesize
...
docs: add diskSize flake example
2024-03-27 20:43:11 +01:00
Adrian Hesketh
26d89adbda
docs: add diskSize flake example
2024-03-27 12:07:55 +00:00
lassulus
2b3720c7af
Merge pull request #325 from blaggacao/refactor/make-pkgs-func
...
refactor/make pkgs func
2024-03-25 21:04:44 +07:00
David
01f1b422e7
refactor: make nixos-generator + /package.nix callPackage-eable
2024-03-25 13:28:47 +01:00
David
89f2a6dc56
fix: add .direnv to gitignore
2024-03-25 13:23:13 +01:00
github-actions[bot]
d3e8145766
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/fa827dda806c5aa98f454da4c567991ab8ce422c' (2024-03-17)
→ 'github:nix-community/nixpkgs.lib/b2a1eeef8c185f6bd27432b053ff09d773244cbc' (2024-03-24)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
→ 'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
2024-03-25 00:48:49 +00:00
lassulus
417a857dfb
Merge pull request #323 from a-h/patch-1
...
fix: typo, function is called `nixosGenerate` not `nixos-generate`
2024-03-22 18:50:13 +07:00
Adrian Hesketh
abe1d24803
fix: typo, function is called nixosGenerate
not nixos-generate
...
Fixes #267
2024-03-22 09:58:12 +00:00
github-actions[bot]
bf351a252a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/34ad8c9f29a18b4dd97a9ad40ceb16954f24afe7' (2024-03-17)
→ 'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
2024-03-21 00:48:15 +00:00
github-actions[bot]
e63df01c79
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/630ebdc047ca96d8126e16bb664c7730dc52f6e6' (2024-03-10)
→ 'github:nix-community/nixpkgs.lib/fa827dda806c5aa98f454da4c567991ab8ce422c' (2024-03-17)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a0906f14161a5c5792e9883117b9471f5bf6df72' (2024-03-13)
→ 'github:NixOS/nixpkgs/34ad8c9f29a18b4dd97a9ad40ceb16954f24afe7' (2024-03-17)
2024-03-18 00:48:30 +00:00
github-actions[bot]
efd4e38532
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/7873d84a89ae6e4841528ff7f5697ddcb5bdfe6c' (2024-03-03)
→ 'github:nix-community/nixpkgs.lib/630ebdc047ca96d8126e16bb664c7730dc52f6e6' (2024-03-10)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/43d259f8d726113fac056e8bb17d5ac2dea3e0a8' (2024-03-05)
→ 'github:NixOS/nixpkgs/a0906f14161a5c5792e9883117b9471f5bf6df72' (2024-03-13)
2024-03-14 06:41:03 +00:00
dependabot[bot]
1d9c8cd24e
build(deps): bump cachix/install-nix-action from 25 to 26
...
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>
2024-03-11 13:46:03 +00:00
Gabriel Arazas
bef32a0549
nixosGenerate: fix extraFormats value
...
It is expected to be a Nix module where this could be a path, function, or an
attribute set.
2024-03-08 08:50:45 +00:00
github-actions[bot]
10e801a76f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
→ 'github:NixOS/nixpkgs/43d259f8d726113fac056e8bb17d5ac2dea3e0a8' (2024-03-05)
2024-03-07 14:19:18 +00:00
dependabot[bot]
d048d6fc4b
build(deps): 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>
2024-03-04 13:05:27 +00:00
lassulus
c1590ae686
Merge pull request #307 from Bert-Proesmans/patch-1
...
Set nixos diskSize option only if specialArgs.diskSize exists
2024-03-04 08:29:50 +07:00
github-actions[bot]
1c8ead6df3
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/479831ed8b3c9c7b80533999f880c7d0bf6a491b' (2024-02-25)
→ 'github:nix-community/nixpkgs.lib/7873d84a89ae6e4841528ff7f5697ddcb5bdfe6c' (2024-03-03)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d53c2037394da6fe98decca417fc8fda64bf2443' (2024-02-28)
→ 'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
2024-03-04 00:51:45 +00:00
Proesmans Bert
2ba4060480
Set nixos diskSize option only if specialArgs.diskSize exists
2024-03-03 15:43:35 +01:00
mrtnvgr
2c9562e762
feat: add --special-arg
option
2024-02-29 17:12:43 +00:00
github-actions[bot]
f34ad8b544
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0' (2024-02-24)
→ 'github:NixOS/nixpkgs/d53c2037394da6fe98decca417fc8fda64bf2443' (2024-02-28)
2024-02-29 00:51:37 +00:00
bri
5b77724069
for containers & kexec, boot.loader.*.enable = lib.mkForce false;
2024-02-26 09:38:40 +00:00
github-actions[bot]
d1dcefb91d
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixlib':
'github:nix-community/nixpkgs.lib/e623008d8a46517470e6365505f1a3ce171fa46a' (2024-02-18)
→ 'github:nix-community/nixpkgs.lib/479831ed8b3c9c7b80533999f880c7d0bf6a491b' (2024-02-25)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b50a77c03d640716296021ad58950b1bb0345799' (2024-02-21)
→ 'github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0' (2024-02-24)
2024-02-26 00:52:50 +00:00
github-actions[bot]
f4631dee1a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/045b51a3ae66f673ed44b5bbd1f4a341d96703bf' (2024-02-18)
→ 'github:NixOS/nixpkgs/b50a77c03d640716296021ad58950b1bb0345799' (2024-02-21)
2024-02-22 00:50:55 +00:00