Frederik Rietdijk
a85e58ac13
Merge master into staging-next
2019-10-23 09:38:37 +02:00
Bjørn Forsman
263a81e285
nixos-rebuild: support sudo + --target-host
...
This adds support for deploying to remote hosts without being root:
sudo nixos-rebuild --target-host non-root@host
Without this change, only root@host is able to deploy.
The idea is that if the local command is run with sudo, so should the
remote one, thus there is no need for adding any CLI options.
2019-10-22 20:44:25 +02:00
Franz Pletz
c2576266ba
nixos/gnupg: add option for setting pinentry flavours
...
Co-authored-by: Florian Klink <flokli@flokli.de>
2019-10-16 20:31:05 -04:00
worldofpeace
2fbccbc728
Revert "Merge pull request #71095 from flokli/pinentry-cleanup"
...
This reverts commit 823da4d492
, reversing
changes made to b75c8ee3bc
.
2019-10-16 20:28:21 -04:00
Franz Pletz
edea9fed72
nixos/gnupg: add option for setting pinentry flavours
...
Co-authored-by: Florian Klink <flokli@flokli.de>
2019-10-16 19:56:49 -04:00
Jan Tojnar
1739d34904
Merge pull request #70734 from jtojnar/nixos-rebuild-remote-fish
...
nixos-rebuild: Fix target-host using fish
2019-10-11 13:26:11 +02:00
Eelco Dolstra
3ab3614e2b
nix: 2.3 -> 2.3.1
2019-10-10 16:23:33 +02:00
Jan Tojnar
316d4faba4
nixos-rebuild: Fix target-host using fish
...
I have `users.defaultUserShell = pkgs.fish;` set on my server and when I ran `nixos-rebuild switch --target-host …`, the command failed with the following error:
fish: Unsupported use of '='. To run 'nix-store' with a modified environment, please use 'env PATH=… nix-store…'
That is because fish requires env to set environment variables for a program. It should also work on other shells.
2019-10-08 11:43:05 +02:00
Vladimír Čunát
f760f0ef48
Revert "Merge #67232 : machinectl compliant NixOS installation"
...
This reverts commit 66967ec752
, reversing
changes made to fb6595eafd
.
Fixes #70442 ; discussion: https://github.com/NixOS/nixpkgs/pull/70027
2019-10-07 20:56:59 +02:00
Linus Heckemann
0b754fbe54
Merge pull request #69302 from mayflower/networkd-disallow-dhcp
...
networkd: disallow useDHCP
2019-10-07 11:29:04 +02:00
worldofpeace
789fcebdab
Merge pull request #46997 from worldofpeace/installer-autorun
...
installer: autorun xserver in graphical media
2019-10-05 11:34:27 +00:00
lassulus
9d04a64a8f
iso-image: add loopback.cfg support to boot iso from grub
2019-10-04 23:24:52 +02:00
worldofpeace
489548310f
nixos/iso-image: add menu entry to disable display-manager
2019-10-02 22:10:18 -04:00
worldofpeace
f6f5151d57
installer: autorun xserver in graphical media
2019-10-02 22:10:18 -04:00
AmineChikhaoui
6ce605e18d
sdImage: add option to enable bzip2 compression
...
also make SD image compression the default setup.
Fixes issues with output size such as: https://hydra.nixos.org/build/102163603
2019-09-30 15:42:13 -04:00
worldofpeace
1d1ff2cc50
Merge pull request #67305 from adisbladis/iso-image-defaults
...
Change ISO image defaults
2019-09-28 18:09:08 -04:00
Samuel Dionne-Riel
95005c1039
Merge pull request #68265 from tkerber/rpi4
...
Various: Add support for raspberry pi 4.
2019-09-27 14:35:17 -04:00
Franz Pletz
66967ec752
Merge pull request #67232 from ck3d/container-useHostResolvConf
...
machinectl compliant NixOS installation
2019-09-25 09:34:17 +00:00
Robin Gloster
5ee383ea8c
nixos-generate-config: add useDHCP per interface
...
This sets networking.useDHCP to false and for all interfaces found the
per-interface useDHCP to true. This replicates the current default
behaviour and prepares for the switch to networkd.
2019-09-24 11:44:01 +02:00
Silvan Mosberger
f47ef8fcf7
sdImage: use findmnt to get root device when resizing ( #58059 )
...
sdImage: use findmnt to get root device when resizing
2019-09-20 23:28:01 +02:00
Thomas Kerber
cc5baf2d86
Various: Add support for raspberry pi 4.
2019-09-17 04:05:16 +01:00
Christian Kögler
930ac600d2
nixos-install: ensure activation script is always called
...
The activation script is needed to get the missing files in etc/ created.
Needed for container manager like systemd-nspawn.
2019-09-13 17:33:34 +02:00
worldofpeace
04bd834d69
iso-image-kde: link new nixos-manual desktop item to desktop
2019-09-07 03:34:06 -04:00
adisbladis
da8019bfce
iso-image: Enable nouveau by default
...
This is a much more sensible default for modern hardware.
2019-09-07 03:34:06 -04:00
adisbladis
b3a06f10d1
iso-image-kde: Disable synaptics
...
It's been deprecated since 17.09 and libinput is a better default
2019-09-07 03:30:45 -04:00
Jan Tojnar
cdf426488b
Merge branch 'master' into staging-next
...
Fixed trivial conflicts caused by removing rec.
2019-09-06 03:20:09 +02:00
Eelco Dolstra
37e333af9a
nix: 2.2.2 -> 2.3
2019-09-04 21:36:49 +02:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging
2019-09-02 23:25:24 +02:00
Ben Wolsieffer
9e5aa25c53
sd-image: don't use installer.cloneConfig option that is not imported
...
This once again allows sd-image.nix to imported standalone to build SD images
of arbitrary NixOS systems.
2019-09-01 14:15:33 -04:00
Silvan Mosberger
478e7184f8
nixos/modules: Remove all usages of types.string
...
And replace them with a more appropriate type
Also fix up some minor module problems along the way
2019-08-31 18:19:00 +02:00
Frederik Rietdijk
ad1d58c622
Merge staging-next into staging
2019-08-31 10:04:20 +02:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Florian Klink
0aa5e3165c
sd-image.nix: set installer.cloneConfig to false
...
As SD Card images are both installation media and installation target,
don't copy over a /etc/nixos/configuration.nix
Closes #63576 .
2019-08-19 16:34:06 +02:00
Sarah Brofeldt
e0cf7d6093
nixos/sd-image: Increase default firmware partition size
2019-08-18 22:55:39 +02:00
Marek Mahut
08749c4860
Merge pull request #66588 from lschuermann/nixos-enter-silent
...
nixos-enter: add --silent to suppress activation script output
2019-08-15 10:22:27 +02:00
Leon Schuermann
415993d6b7
nixos-enter: silent activation script option
...
Also, fix a few shellcheck errors.
2019-08-13 23:48:58 +02:00
worldofpeace
397c7d26fc
installer: Don't run as root
...
There's many reason why it is and is going to
continue to be difficult to do this:
1. All display-managers (excluding slim) default PAM rules
disallow root auto login.
2. We can't use wayland
3. We have to use system-wide pulseaudio
4. It could break applications in the session.
This happened to dolphin in plasma5
in the past.
This is a growing technical debt, let's just use
passwordless sudo.
2019-08-12 14:45:27 -04:00
Bas van Dijk
810388afd2
nixos-generate-config: enable overriding configuration.nix
2019-08-08 17:00:10 +02:00
Nikolay Amiantov
e4837acf21
nixos netboot: explicitly specify initrd
...
Needed for iPXE on UEFI, see http://forum.ipxe.org/archive/index.php/thread-7589.html
2019-07-15 19:33:21 +03:00
Samuel Dionne-Riel
6fba2c3565
sd-image-raspberrypi: populateBoot -> populateFirmware
...
Fixes an incomplete change from the last changes.
2019-06-25 20:49:34 -04:00
Samuel Dionne-Riel
6bc2d30ee3
Merge pull request #62462 from samueldr/sd-image/fat-free
...
sd-image: FAT free /boot
2019-06-24 14:53:49 -04:00
Samuel Dionne-Riel
7c819989f9
Merge pull request #63147 from samueldr/aarch64/graphics-fixes
...
aarch64: misc. graphical boot fixes
2019-06-24 14:53:01 -04:00
Samuel Dionne-Riel
288118cdfa
sd-image: Adds removed options for removed options
...
This will keep configuration configuring the size of the /boot partition
still build, while showing the deprecation warning.
In 99.9% of cases I assume ignoring the configuration is better, as the
sd-image builder already is pretty opinionated in that matter.
2019-06-16 17:47:32 -04:00
Samuel Dionne-Riel
c113c094cf
sd-image: Pull less slack in the image by accounting for slack
...
The slack, seemingly, accounted for more than the minimum required for
slack plus the two partitions.
This change makes the gap a somewhat abstracted amount, but is not
configurable within the derivation.
2019-06-16 17:47:31 -04:00
Samuel Dionne-Riel
1843e00146
sd-image: Updates comments
2019-06-16 17:47:31 -04:00
Samuel Dionne-Riel
8634d5700d
sd-image: firmware partition reduced to 20MiB
2019-06-16 17:47:31 -04:00
Samuel Dionne-Riel
53884e1b94
sd-image: Switch /boot to the ext4 partition
2019-06-16 17:47:31 -04:00
Samuel Dionne-Riel
6e9e78b618
sd-image: Moves /boot
into rootfs
...
The current FAT32 partition is kept as it is required for the Raspberry
Pi family of hardware. It is where the firmware is kept.
The partition is kept bootable, and the boot files kept in there until
the following commits, to keep all commits of this series individually
bootable.
2019-06-16 17:47:30 -04:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Bjørn Forsman
8f551be935
nixos-generate-config: don't emit tmpfs entry for /tmp
...
Because it most likely comes from the boot.tmpOnTmpfs option in
configuration.nix (managed declaratively).
2019-06-16 16:21:54 +02:00