Bjørn Forsman
ec13407807
nixos-install: fix error message consistency
...
The test is for path A but the error message says path B. Fix it.
2013-04-22 22:06:27 +02:00
Shea Levy
cc1ae918bd
Fix cut-off comment in generated configuration.nix
...
Pointed out by Mathnerd626 on irc
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-16 13:34:37 -04:00
Shea Levy
ce8c145a98
nixos-install: Include nix's perl libs in perl's INC
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-11 16:18:24 -04:00
Shea Levy
6e0723bac6
nixos-install: Mound nixos and nixpkgs src directly
...
Previously nixos-install would fail if nixos and nixpkgs weren't on the same mountpoint as /
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-11 16:12:43 -04:00
Shea Levy
a215600335
nixos-install: Unmount efivars if mounted
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-10 15:08:33 -04:00
Shea Levy
6a1e1fa108
nixos-install: Bind-mount efivars if it exists
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-10 09:15:54 -04:00
Florian Friesdorf
92ad293d02
iso_minimal_new_kernel
2013-04-06 18:24:50 +02:00
Eelco Dolstra
fbde5e027e
Sync after installing the boot loader
...
Previously we synced just before calling switch-to-configuration.
That prevents corruption of the Nix store, but it can leave the boot
loader configuration and kernel files in /boot corrupted. So do the
sync after installing the boot loader.
2013-03-28 16:11:54 +01:00
Shea Levy
6c6b0be503
iso_efi: Fix build
...
Thanks to mwc in irc for pointing it out
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-26 14:36:53 -04:00
Lluis Batlle
8881d1a920
Fixing the system tarball for the sheevaplug
2013-03-25 21:57:18 +01:00
Eelco Dolstra
d99fce2631
installation-cd-base.nix: Use boot.kernel.sysctl
2013-03-02 20:06:02 +01:00
Shea Levy
fb7b7a2887
Update EFI installation CD to meet the requirements of the new gummiboot
2013-02-21 13:30:42 -05:00
Shea Levy
3ad424632b
Linux 3.6 has been EOL'd, hopefully 3.7 works for the fuloong2f
2013-02-14 14:37:00 -05:00
Shea Levy
12d77805ef
nixos-install: Unset NIX_REMOTE
2013-02-06 12:20:52 -05:00
Shea Levy
5e88e9b2ff
nixos-install: Fully resolve symlinks in the paths to nixos/nixpkgs sources.
2013-02-05 10:37:50 -05:00
Shea Levy
98b7253b29
nixos-install: Append the default nixos-channel path to $NIX_PATH
2013-02-05 09:44:00 -05:00
Shea Levy
05f01685a0
D'oh
2013-02-05 06:39:18 -05:00
Shea Levy
6199d4bb8e
nixos-install: Don't grep nix.conf directly, use nix perl bindings instead
2013-02-04 09:44:32 -05:00
Shea Levy
99623e9940
nixos-install: If NIX_CONF_DIR is unset, use /etc/nix
2013-02-04 09:27:56 -05:00
Shea Levy
e83f946f9e
nixos-install: Respect the build-users-group of the host
2013-02-04 07:46:31 -05:00
Shea Levy
722d8497e7
nixos-install: Respect /home/shlevy/src:/nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos=/etc/nixos/nixos:nixos-config=/etc/nixos/configuration.nix:services=/etc/nixos/services to find the nixos and nixpkgs sources, only copy the nixos channel if it exists
2013-02-04 07:46:31 -05:00
Shea Levy
9db243b4aa
nixos-install: Respect host $NIX_CONF_DIR and don't assume nix.conf exists
2013-02-04 07:46:31 -05:00
Shea Levy
c384ea26e4
Update iso_efi to use gummiboot
2013-02-02 00:54:05 -05:00
Eelco Dolstra
6d19777455
nixos-install: Handle /nix/var/nix/db being on a separate filesystem
...
This is the case on S3-backed EC2 instances.
2013-01-25 16:00:47 +01:00
Eelco Dolstra
314adf9648
nixos-rebuild: Don't rely on $SHELL
...
Fixes #74 .
2013-01-23 11:31:48 +01:00
Eelco Dolstra
fc14a31f2c
unionfs: Increase the open file limit
...
The default (1024) is way too low, e.g. to start KDE on the
installation CD.
2013-01-22 13:31:08 +01:00
Eelco Dolstra
1aaa726e75
Merge remote-tracking branch 'origin/systemd'
2013-01-21 12:45:50 +01:00
Eelco Dolstra
6e7b0a0c0e
Fix ‘nixos-rebuikd dry-run’
2013-01-16 16:11:51 +01:00
Eelco Dolstra
e65a49f00f
Add missing file
2013-01-16 16:06:50 +01:00
Eelco Dolstra
b35fe01f02
Set the NixOS version to something useful when building from Git
2013-01-16 14:40:41 +01:00
Eelco Dolstra
ea358b4eae
nixos-rebuild: Use ‘[ ... ]’ instead of ‘test’
2013-01-16 13:21:59 +01:00
Lluís Batlle i Rossell
ceedc50009
Fixing the fuloong2f system tarball
2012-12-22 18:46:15 +01:00
Eelco Dolstra
45f0de21f0
nixos-rebuild: Fix the check for running nix-daemon
2012-12-21 00:18:12 +01:00
Shea Levy
75ec5c609e
Merge remote-tracking branch 'upstream/master' into systemd
...
Conflicts:
maintainers/scripts/ec2/create-ebs-amis.py
2012-12-17 13:03:56 -05:00
Shea Levy
d19c223ba6
Simplify unionfs-chroot bind-mounting
2012-12-16 13:07:42 -05:00
Shea Levy
e34024d998
Refactor common unionfs-fuse initrd prep into a separate module
2012-12-16 12:33:36 -05:00
Shea Levy
be4f69519b
iso-image: Use unionfs-fuse instead of aufs
2012-12-16 11:31:52 -05:00
Lluís Batlle i Rossell
dacd7d5a58
Setting iso_new_kernel to use linux 3.7.
...
It was using 3.2, the same kernel as the other isos.
2012-12-16 16:05:50 +01:00
Florian Friesdorf
14483c0bf9
update nixos channel path
2012-12-14 18:24:41 +01:00
Eelco Dolstra
97ae408e83
Merge remote-tracking branch 'origin/master' into systemd
2012-12-11 17:40:39 +01:00
Eelco Dolstra
13617b803b
Use the binary cache in the installer
...
Also remove "nixos-rebuild pull".
2012-12-08 19:00:06 +01:00
Eelco Dolstra
b1da38f564
Merge remote-tracking branch 'origin/master' into systemd
2012-11-30 16:12:04 +01:00
Lluís Batlle i Rossell
04963cf802
system-tarball-pc: fixing the readme inclusion
2012-11-29 11:29:15 +01:00
Eelco Dolstra
994a15bc25
nixos-rebuild: Handle options with spaces in them
...
Like ‘--option binary-caches "http://foo http://bar "’
2012-11-22 12:04:00 +01:00
Eelco Dolstra
f44d27a96c
Make the installer work on systemd
...
Systemd mounts the root filesystem as a shared subtree, which breaks
recursive bind mounts.
2012-11-15 22:53:57 +01:00
Eelco Dolstra
08e6c0cb7c
Update channel URLs
2012-11-12 09:19:25 +01:00
Lluís Batlle i Rossell
64540fb453
Adding quick instructions in system-tarball-pc to use it as chroot.
...
I also split the readme into a file apart.
2012-11-04 22:13:19 +01:00
Eelco Dolstra
458f36f5f1
Turn fileSystems into an attribute set
...
So now you can write
fileSystems =
[ { mountPoint = "/";
device = "/dev/sda1";
}
];
as
fileSystems."/".device = "/dev/sda1";
2012-11-02 18:02:12 +01:00
Eelco Dolstra
74be2d9707
ISO image: Fix graphical GRUB menu
2012-10-04 16:14:44 -04:00
Eelco Dolstra
75583c7984
nixos-rebuild: Support --option
2012-09-14 13:23:19 -04:00