| Commit message (Collapse) | Author | Age |
| |
|
|\
| |
| | |
Shout: new package and nixos module
|
| | |
|
|\ \
| | |
| | | |
tcsd module: expose firmwarePCRs and kernelPCRs
|
| | | |
|
|\ \ \
| |_|/
|/| | |
xen: fixes (authored by michalpalka)
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Xen required a few changes in order to be usable:
* Include xenfs module in initrd as loading it in the activation
script was failing.
* Include /etc/default/xendomains, which is needed by
xen-domains service.
* Create /var/log/xen and /var/lib/xen directories in
the xen-store service, which are needed by the xl command.
The directories could be created by any other script as long as
they are guaranteed to exist before xl is called.
* Fix a reference to /bin/ls in the xendomains script.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
quassel is broken"
This reverts commit c61d048427719d6e0c131f58825331df0a9d4ccc.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
$d should be $sd, this causes resume from hibernate to fail if
resumeDevice is not explicitly set in config. Introduced in commit:
'stage-1: Shut up warnings about swap devices that don't exist yet'
|
| | |
| | |
| | |
| | |
| | | |
I bought an X2 in 2006. It was awesome.
Use a more contemporary and model-agnostic example.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
These are options that can have only one definition, regardless of
priority.
|
| | | |
|
| | |
| | |
| | |
| | | |
Also unify the nixStable and nixUnstable expressions.
|
| | | |
|
|\ \ \
| | | |
| | | | |
ARM SD card image expressions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The resulting image can be copied to a SD card with `dd` and is directly
bootable by a suitably configured U-Boot. Though depending on the board, some
extra steps are required for copying U-Boot itself to the SD card.
Inside the image is a partition table, with a FAT32 /boot and a normal
writable EXT4 rootfs. It's possible to directly reuse the SD image's
partition layout and "install" NixOS on the same SD card by replacing
the default configuration.nix and nixos-rebuild, and actually is the
preferred way to use these images. To assist in this installation
method, the boot scripts on the image automatically resize the rootfs
partition to fit the SD card on the first boot.
The SD images come in two flavors; one for the ARMv6 Raspberry Pi,
and one multiplatform image for all the boards supported by the
mainline kernel's multi_v7_defconfig config target. At the moment, these
have been tested on:
- Raspberry Pi Model B (512MB model)
- NVIDIA Jetson TK1
- Linksprite pcDuino3 Nano
To build, run:
nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage \
-I nixos-config='<nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix>'
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using extlinux-conf-builder in a nix build using chroots, the
following error message could be seen:
/nix/store/XXX-extlinux-conf-builder.sh: line 121: cd: /nix/var/nix/profiles: No such file or directory
To avoid this, just skip the code path parsing /nix/var/nix/profiles
when $numGenerations (passed from the command line) is 0 (which is the
only legal value of $numGenerations in a nix build context).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Without a menu title, U-Boot's distro scripts just autoboot the first
entry by default.
When I initially wrote this, my board wasn't apparently running stock
U-Boot but had some local hacks saved in the U-Boot's environment
which made it always display the prompt.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
With this, boot.loader.generic-extlinux-compatible can be used with
linuxPackages_rpi on the Raspberry Pi.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When calling addEntry inside a subshell, the filesCopied array would
be updated only in the subshell's environment. This would only cause an
issue if no -g flag was passed to the script, causing no kernels
to be copied.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise we can get an ugly /rogue.scr in the root of the filesystem
hierarchy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 27c73e252a042e88b3fae35f538d7e719d8ba9ea, reversing
changes made to 94302941148d606a5f3956adcca6ed70064eb6c8.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This function is redundant (we also have zipLists).
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
This cuts evaluation time of my NixOS configuration from 1.76s to
1.36s, and RSS from 443 MiB to 368 MiB.
Issue #8152.
|
| | |
| | |
| | |
| | |
| | | |
This is finally possible now that we have ‘system.stateVersion’
(allowing the default package to change over time).
|
| | |
| | |
| | |
| | | |
Closes #7939.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This option requests compatibility with older NixOS releases with
respect to stateful data, in cases where new releases have defaults
that might be incompatible with system state of existing NixOS
deployments. For instance, if we change the default version of
PostgreSQL, existing deployments will break if the new version can't
read databases created by the old version.
So for example, setting
system.stateVersion = "15.07";
requests that options like services.postgresql.package use defaults
corresponding to the 15.07 release branch. Note that
nixos-generate-config emits this option. (In the future, NixOps may
set system.stateVersion to the NixOS release in use when the machine
was created.)
See also #7939 for another motivating example.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Broken by 77d33f77d7cffa9e53c780398ae0fadc8dd0eda5 , cc @nckx
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
NixOS doesn't use it, so no reason to include it.
|
|\ \ \
| | | |
| | | | |
IceWM: 1.3.8 -> 1.3.10
|
| | | |
| | | |
| | | |
| | | | |
A complete rewrite in comparision to previous expression.
|
|\ \ \ \
| | | | |
| | | | | |
Oroborus (2.0.20): New Package
|
| | | | |
| | | | |
| | | | |
| | | | | |
Oroborus (named after the self-eating snake) is a minimalistic window manager.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I observed a hang at the moment the nouveau driver gets loaded on a
GTX 970.
|
| | | | | |
|
| | | | | |
|