Ben Wolsieffer
6897945879
nixos/networkd: replace range with assertRange
2018-08-22 00:11:14 +02:00
John Ericson
7d85ade0cc
treewide: Purge stdenv.platform
and top-level platform
...
Progress towards #27069
2018-08-20 15:22:46 -04:00
Vladimír Čunát
cbabebcc2e
Merge branch 'master' into staging-next
...
Hydra: ?compare=1473892
2018-08-17 13:45:21 +02:00
Jörg Thalheim
3d36e7c1fa
Merge pull request #44233 from jfrankenau/networkd-fix-options
...
nixos/networkd: add missing options
2018-08-16 11:18:18 +02:00
Johannes Frankenau
b2f1790070
nixos/networkd: add missing options
2018-08-16 10:27:34 +02:00
Vladimír Čunát
5b0398dc36
Merge branch 'master' into staging-next
...
Conflicts: gobby and libinfinity - I took the hand-edited versions
instead of those resuting from the mass-replacement.
Hydra: ?compare=1473190
2018-08-13 20:43:59 +02:00
Thibault Polge
d470a407eb
nixos/systemd-boot: Add missing newline
...
This fixes an issue where setting both
`boot.loader.systemd-boot.editor` to `false` and
`boot.loader.systemd-boot.consoleMode` to any value would concatenate
the two configuration lines in the output, resulting in an invalid
`loader.conf`.
2018-08-12 15:12:27 +02:00
Frederik Rietdijk
d9fa74ba78
Merge master into staging
2018-08-09 18:28:15 +02:00
Samuel Dionne-Riel
27c6bf0ef3
Merge pull request #29441 from oxij/nixos/luks
...
nixos: initrd/luks: allow to reuse passphrases, cleanup
2018-08-08 13:16:57 -04:00
Linus Heckemann
adba92b5ef
systemd: improve unit script drv naming
...
Also store scripts directly in the nix store rather than having the
superfluous /bin/ tree.
2018-08-08 14:29:41 +02:00
Jan Malakhovski
8c83ba0386
nixos: initrd/luks: disable input echo for the whole stage
2018-08-08 02:47:50 +00:00
Jan Malakhovski
c35917e330
nixos: initrd/luks: simplify Yubikey handling code
...
From reading the source I'm pretty sure it doesn't support multiple Yubikeys, hence
those options are useless.
Also, I'm pretty sure nobody actually uses this feature, because enabling it causes
extra utils' checks to fail (even before applying any patches of this branch).
As I don't have the hardware to test this, I'm too lazy to fix the utils, but
I did test that with extra utils checks commented out and Yubikey
enabled the resulting script still passes the syntax check.
2018-08-08 02:47:49 +00:00
Jan Malakhovski
a9d69a74d6
nixos: initrd/luks: change passphrases handling
...
Also reuse common cryptsetup invocation subexpressions.
- Passphrase reading is done via the shell now, not by cryptsetup.
This way the same passphrase can be reused between cryptsetup
invocations, which this module now tries to do by default (can be
disabled).
- Number of retries is now infinity, it makes no sense to make users
reboot when they fail to type in their passphrase.
2018-08-08 02:47:47 +00:00
Jan Malakhovski
12e6907f33
nixos: initrd/luks: cleanup and generalize common shell expressions
...
Also fix Yubikey timeout handling mess.
2018-08-08 02:45:17 +00:00
Jan Malakhovski
dc653449c5
nixos: boot/stage-1: check syntax of the generated script
2018-08-08 02:43:17 +00:00
Edmund Wu
aea2d822dd
luksroot: Add missing quote ( #44639 )
2018-08-07 23:56:30 +02:00
Janne Heß
690dac11f3
nixos/luksroot: Support keyfile offsets
2018-08-07 17:39:02 +02:00
John Ericson
68d31ddaf5
stage-1: Remove last reference of now-removed stdenv.isCross
2018-08-06 18:07:02 -04:00
Jörg Thalheim
05daf390b3
systemd: 238 -> 239
2018-08-06 11:03:09 +02:00
Silvan Mosberger
31dda068db
Merge pull request #42877 from Infinisil/systemd-boot/consoleMode
...
nixos/systemd-boot: Add consoleMode option
2018-08-04 23:21:31 +02:00
Jörg Thalheim
81d5e441b2
Merge pull request #44202 from jerith666/journald-rate
...
journald: set rateLimitInterval and rateLimitBurst to upstream defaults
2018-07-30 13:47:01 +01:00
Matt McHenry
a3c1ddda84
journald: set rateLimitInterval and rateLimitBurst to upstream defaults
2018-07-29 12:29:30 -04:00
Matthew Bauer
ca0522a842
Merge pull request #41970 from aneeshusa/enable-building-systemd-without-libmicrohttpd
...
nixos/systemd: Allow building systemd without libmicrohttpd
2018-07-23 11:24:14 -04:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
volth
87f5930c3f
[bot]: remove unreferenced code
2018-07-20 18:48:37 +00:00
Silvan Mosberger
35c069ea02
nixos: systemd.globalEnvironment: fix type
...
Follow up fix of fb2a8d66699c96d6a687eb71ebfcca08e3405037
https://github.com/NixOS/nixpkgs/pull/38356
https://github.com/NixOS/nixpkgs/pull/40416
2018-07-18 22:04:26 +02:00
Matthew Bauer
19fc061a13
Merge pull request #43169 from samueldr/fix/stripDirs
...
Fixes `stripDirs` use after signature change
2018-07-14 19:07:46 -04:00
Samuel Dionne-Riel
4106de56d0
stage-1: Fixes use of stripDirs.
2018-07-07 22:25:23 -04:00
Silvan Mosberger
e08148041f
nixos/systemd-boot: Add consoleMode option
2018-07-02 18:21:51 +02:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
Benjamin Staffin
dca7e24a11
networkmanager: Expand dns description, integrate with other services ( #41898 )
...
Rather than special-casing the dns options in networkmanager.nix, use
the module system to let unbound and systemd-resolved contribute to
the newtorkmanager config.
2018-06-29 13:41:46 -04:00
Tuomas Tynkkynen
f9218b1346
nixos/stage-1: Make find-libs not choke on dynamic linker being in DT_NEEDED
...
find-libs is currently choking when it finds the dynamic linker
as a DT_NEEDED dependency (from glibc) and bails out like this
(as glibc doesn't have a RPATH):
Couldn't satisfy dependency ld-linux-x86-64.so.2
Actually the caller of find-libs ignores the exit status, so the issue
almost always goes unnoticed and happens to work by chance. But
additionally what happens is that indirect .so dependencies are
left out from the dependency closure calculation, which breaks
latest cryptsetup as libssl.so isn't found anymore.
2018-06-20 17:58:02 +03:00
Victor Shlein
4fa88fcecb
nixos/stage-1, nixos/f2fs: moved f2fs resizing tools include in f2fs module
2018-06-19 14:27:36 +03:00
Victor Shlein
34234dcb51
nixos/stage-1: new separate conditionals for ext4 and f2fs resizing tools
2018-06-19 14:23:39 +03:00
Victor Shlein
577483738c
nixos/stage-1: implemented separate check for f2fs filesystems in need of resizing
2018-06-19 13:53:34 +03:00
Jörg Thalheim
81eaa7ab1b
Merge pull request #42211 from dje4321/dje4321
...
Grub: default is signed int. Fixes #42152
2018-06-19 10:55:13 +01:00
Emily Ann Ediger
ac0136509c
added suggestion to support both str and int
2018-06-19 04:05:50 -05:00
Emily Ann Ediger
ae04fb01f8
set default to type.str
2018-06-19 01:59:21 -05:00
Emily Ann Ediger
08691d0515
Grub: default is signed int. Fixes #42152
2018-06-18 23:54:45 -05:00
kisik21
0b9b7be5bf
nixos/stage-1: fixed if-else block
2018-06-19 01:59:08 +03:00
Victor Shlein
b44d304542
nixos/stage-1: added f2fs-tools' tools for resizing
2018-06-19 01:36:12 +03:00
Victor Shlein
c24e917325
nixos/stage-1: added F2FS resizing
...
F2FS is used on Raspberry Pi-like devices to enhance SD card performance. Allowing F2FS resizing would help in automatic deploying of SD card images without a Linux box to resize the file system offline.
2018-06-19 01:25:00 +03:00
xeji
bb8b1df729
Merge pull request #41511 from vicgc/nilfs2-root-fix
...
Fixed nilfs2 fsck error at boot because its not needed by the nilfs2 filesystem
2018-06-17 21:52:55 +02:00
Aneesh Agrawal
76c4c7b9de
nixos/systemd: Allow building systemd without libmicrohttpd
2018-06-13 22:55:06 -07:00
volth
4c3352896e
nixos/initrd-network: support hetzner
2018-06-11 10:35:02 +00:00
Joachim Fasting
2be28b1df5
Revert "Merge pull request #38263 from lopsided98/grub-initrd-secrets"
...
This reverts commit c06d7950f1b97abf510bc70bd2a2b0445e8d36f2, reversing
changes made to 4c25fbe338212f498a34d2a9b4c2072ac96c0e31.
See https://github.com/NixOS/nixpkgs/issues/41608
2018-06-07 14:24:59 +02:00
Joachim F
c06d7950f1
Merge pull request #38263 from lopsided98/grub-initrd-secrets
...
grub: support initrd secrets
2018-06-06 19:05:54 +00:00
vicgc
ee4bb9454e
Fixed nilfs2 fsck error at boot because its not needed bu the nilfs2 filesystem
2018-06-06 00:24:04 +02:00
Graham Christensen
5467f0ed7a
Merge pull request #41486 from grahamc/support-null-font
...
grub: Support when boot.loader.grub.font is null
2018-06-05 13:29:28 -04:00
Graham Christensen
ab889c14b5
install-grub: only try to loadfont if font is not null
2018-06-05 13:11:33 -04:00