| Commit message (Collapse) | Author | Age |
|
|
|
| |
It's been deprecated since 17.09 and libinput is a better default
|
|\
| |
| |
| | |
Fixed trivial conflicts caused by removing rec.
|
| | |
|
|\| |
|
| |
| |
| |
| |
| | |
This once again allows sd-image.nix to imported standalone to build SD images
of arbitrary NixOS systems.
|
| |
| |
| |
| |
| |
| | |
And replace them with a more appropriate type
Also fix up some minor module problems along the way
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
As SD Card images are both installation media and installation target,
don't copy over a /etc/nixos/configuration.nix
Closes #63576.
|
|/ |
|
| |
|
|\
| |
| | |
nixos-enter: add --silent to suppress activation script output
|
| |
| |
| |
| | |
Also, fix a few shellcheck errors.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Needed for iPXE on UEFI, see http://forum.ipxe.org/archive/index.php/thread-7589.html
|
|
|
|
| |
Fixes an incomplete change from the last changes.
|
|\
| |
| | |
sd-image: FAT free /boot
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
aarch64: misc. graphical boot fixes
|
| | |
| | |
| | |
| | |
| | |
| | | |
This will reduce the confusion at boot, where the only thing visible is
the last message from u-boot; where it looks like the board is
hung, while in reality it's likely resizing partitions.
|
| |/
| |
| |
| |
| |
| | |
This will reduce the confusion at boot, where the only thing visible is
the last message from u-boot; where it looks like the Raspberry Pi is
hung, while in reality it's likely resizing partitions.
|
| |
| |
| |
| |
| |
| | |
* treewide: remove unused variables
* making ofborg happy
|
| |
| |
| |
| |
| | |
Because it most likely comes from the boot.tmpOnTmpfs option in
configuration.nix (managed declaratively).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without this, the system becomes unbootable if the user creates a LVM
snapshot and reboots.
Fixes https://github.com/NixOS/nixpkgs/issues/33646
(The same kind of problem was fixed in RHEL a few years back:
https://bugzilla.redhat.com/show_bug.cgi?id=1287940)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up until now, the output has been the same for swap devices and swap
files:
{ device = "/var/swapfile"; }
Whereas for swap *files* it's easier to manage them declaratively in
configuration.nix:
{ device = "/var/swapfile"; size = 8192; }
(NixOS will create the swapfile, and later resize it, if the size
attribute is changed.)
With the assumption that swap files are specified in configuration.nix,
it's silly to output them to hardware-configuration.nix.
|
|\
| |
| | |
nixos-generate-config: add support for bcache
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add "bcache" to boot.initrd.availableKernelModules if a bcache device is
detected.
This fixes a problem I've had one too many times: I install NixOS and
forget to add "bcache", resulting in an unbootable machine (until fixed
with Live CD). Now NixOS will do it for me.
|
|\ \
| |/
|/| |
nixos/netboot: import -> callPackage
|
| |
| |
| |
| |
| | |
Copy-paste from iso-image.nix
Besides the simplification, it should use `pkgs.buildPackages.squashfsTools` because it is used in `nativeBuildInputs` instead of incorrect `pkgs.squashfsTools` which was forced by `import'
|
|\ \
| | |
| | | |
nixos-generate-config: do not build btrfs-tools when btrfs is not used
|
| | |
| | |
| | | |
cross-compilation of `btrfs-tools` is broken, and this usually needless dependency of each system closure on `btrfs-tools` prevents cross-compilation of whole system closures
|
|\ \ \
| | | |
| | | | |
treewide: Remove usage of isNull
|
| |/ /
| | |
| | |
| | | |
isNull "is deprecated; just write e == null instead" says the Nix manual
|
|/ /
| |
| |
| | |
Fixes the main remaining part of #12345
|
|\ \
| |/
|/| |
nixos: fix system-tarball
|
| | |
|
|/ |
|
|\
| |
| | |
nixos-build-vms: pass `--option` to `nix-build`
|
| |
| |
| |
| |
| |
| |
| | |
Also simplified the argument parsing to write all currently supported
CLI options into a bash array and pass this to `nix-build`.
Also documented `--option` usage in the corresponding manpage.
|
| |
| |
| |
| |
| | |
This reverts commit bb32e322a5aa81203eb3494081539eea8a70adcb, reversing
changes made to e0b4356c0dc7d35d9ee17d23b53d8c2020d4e618.
|
|\ \
| | |
| | | |
iso-image: make reproducible by not relying on mcopy's readdir
|
| | | |
|
|\ \ \
| | | |
| | | | |
syslinux: change serial bit rate to 115200
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Prior to this commit an installation over serial via syslinux would
involve:
1. setting bitrate to BIOS's bitrate (typically 115200)
2. setting bitrate to syslinux's bitrate (38400)
3. setting bitrate to stty's bitrate (115200)
By changing syslinux's bitrate to 115200, an installation over serial
is a smoother experience, and consistent with the GRUB2 installation
which is also 115200 bps.
[root@nixos:~]# stty
speed 115200 baud; line = 0;
-brkint ixoff iutf8
-iexten
In a future commit I will add default serial terminals to the syslinux
kernel lines.
|
|\ \ \ \
| |/ / /
|/| | | |
grub: Support 32bit EFI on 64bit platforms
|