Eelco Dolstra
8bfbe7ef84
Don't try to guess the location of the NixOS config file
...
The NixOS config need not be $NIXOS_CONFIG, it can also be set through
-I nixos-config=... or not exist in a separate file at all (e.g. in a
NixOps deployment).
Issue #212 .
2013-08-26 12:14:14 +02:00
Eelco Dolstra
eefe0786f9
nixos-help: Use xdg-open if available
2013-08-20 17:11:47 +02:00
Evgeny Egorochkin
f29068342a
Merge pull request #212 from ivan/nix-conf-header
...
Describe where /etc/nix/nix.conf settings come from
2013-08-10 22:02:32 -07:00
Ivan Kozik
390fdb3e60
Fix typos, especially those that end up in the NixOS manual
2013-08-10 21:07:13 +00:00
Ivan Kozik
d6303b6068
Describe where /etc/nix/nix.conf settings come from
2013-08-09 00:51:45 +00:00
Eelco Dolstra
168d48a5c9
nix-daemon: Run under the default nice level
...
Running at a low priority is generally bad since it runs the risk of
priority inversions, etc. It's really the builders that should run
under a different priority (e.g. in their own cgroup).
2013-08-07 14:10:49 +02:00
Martin Bravenboer
7bd50185ff
Support Nix's mandatoryFeatures
...
Extend the buildMachines option to support specification of
supportedFeatures and mandatoryFeatures in order to support all
configuration options of the nix.machines file.
2013-07-31 15:49:35 +02:00
Rob Vermaas
2cb25bd65c
Revert "Only include /bin/sh (not all of /bin) in the chroot"
...
This reverts commit 883d310bac
.
2013-07-23 10:00:54 +02:00
Rob Vermaas
7163babe84
Revert "Allow specifying packages whose closures should be in the chroot"
...
This reverts commit be3d498b18
.
2013-07-23 10:00:43 +02:00
Shea Levy
be3d498b18
Allow specifying packages whose closures should be in the chroot
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-19 11:21:05 -04:00
Shea Levy
883d310bac
Only include /bin/sh (not all of /bin) in the chroot
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-19 11:19:07 -04:00
Sander van der Burg
5dd0ce8c15
Updated disnix to latest 0.3 release
2013-06-27 15:32:49 +02:00
Domen Kozar
85d5366c10
synergy: port to systemd and add autoStart option
2013-06-26 22:14:08 +02:00
Jaka Hudoklin
aa548ef803
Add cgminer crypto currency miner
2013-06-20 09:01:11 +00:00
Eelco Dolstra
7cf23a740d
Update the default binary cache URL to cache.nixos.org
2013-06-12 14:23:33 +02:00
Eelco Dolstra
b3f04718cf
Use stable Nix by default
2013-06-11 12:10:58 +02:00
Sander van der Burg
e776c0623d
Fixed disnix service to use systemd's dependency facilities
2013-06-03 01:34:22 +02:00
Eelco Dolstra
c2977f134e
nix-gc.timer: Fix the start time
2013-03-28 13:35:07 +01:00
Eelco Dolstra
7ad91f31d6
Add support for systemd timers
2013-03-28 11:54:19 +01:00
Eelco Dolstra
991a78dd8b
Use nixUnstable
2013-03-26 15:58:38 +01:00
Marc Weber
f3e6b42258
replace list by listOf using same style as for attrsOf
2013-03-14 17:09:21 +01:00
Eelco Dolstra
85188d19c5
nix-daemon: Restart when nix.conf changes
2013-02-26 03:15:29 +01:00
Eelco Dolstra
0930befd58
nix-daemon: Put back the --daemon flag
...
That flag doesn't do anything, except that it allows setting the
client PID in the process title of the children.
2013-01-24 13:34:47 +01:00
Eelco Dolstra
4ac619f6e5
Turn on nix.readOnlyStore again
2013-01-24 13:09:31 +01:00
Eelco Dolstra
bd328680ce
Revert "Enable nix.readOnlyStore by default"
...
This reverts commit 683100666d
.
Seems somebody (systemd? the kernel?) gets confused at power
events and remounts the filesystem containing /nix/store as
read-only.
2013-01-24 10:28:34 +01:00
Eelco Dolstra
683100666d
Enable nix.readOnlyStore by default
2013-01-23 23:41:01 +01:00
Eelco Dolstra
4d983d4955
Rename ‘system.build.systemd’ to ‘systemd.package’
...
This makes it cheaper to test a new systemd and is more consistent
with other modules.
2013-01-16 13:17:57 +01:00
Eelco Dolstra
ae4e94d9ac
Rename ‘boot.systemd’ to ‘systemd’
...
Suggested by Mathijs Kwik. ‘boot.systemd’ is a misnomer because
systemd affects more than just booting. And it saves some typing.
2013-01-16 12:33:18 +01:00
Eelco Dolstra
81796c5baf
Add a command ‘nixos-help’ that opens the NixOS manual in a browser
2013-01-08 02:13:33 +01:00
Eelco Dolstra
1aea92c4ce
Ensure that ‘nix.gc.options’ is subject to shell expansion
2013-01-05 01:35:26 +01:00
Eelco Dolstra
baac242a1f
Run the garbage collector as a systemd service
...
Running it from systemd rather than cron has several advantages:
systemd ensures that only one instance runs at a time; the GC can be
manually started/stopped; and logging goes to the journal.
We still need cron to start the service at the right time, but
hopefully soon we can get rid of cron entirely (once systemd supports
starting a unit at a specific time).
2013-01-04 14:04:41 +01:00
Eelco Dolstra
f701acfac0
nix-daemon: Start "nix-daemon" rather than "nix-worker --daemon"
2013-01-04 13:50:50 +01:00
Eelco Dolstra
97ae408e83
Merge remote-tracking branch 'origin/master' into systemd
2012-12-11 17:40:39 +01:00
Eelco Dolstra
ef3199f782
Add options for specifying binary caches
...
Cherry-picked a4bcb26b1a
.
2012-12-08 18:37:40 +01:00
Eelco Dolstra
a4bcb26b1a
Add options for specifying binary caches
2012-11-22 11:49:47 +01:00
Eelco Dolstra
6c6134c2d2
Fix the manual service on the installation CD
2012-10-04 16:15:10 -04:00
Eelco Dolstra
8dc4f2c3be
Fix the rogue service for systemd
2012-10-04 15:27:31 -04:00
Eelco Dolstra
2cf5e3cb66
Add options ‘boot.systemd.targets’ and ‘boot.systemd.sockets’
2012-10-01 18:58:11 -04:00
Eelco Dolstra
891be375b5
Make unitConfig/serviceConfig attribute sets
...
So instead of:
boot.systemd.services."foo".serviceConfig =
''
StartLimitInterval=10
CPUShare=500
'';
you can say:
boot.systemd.services."foo".serviceConfig.StartLimitInterval = 10;
boot.systemd.services."foo".serviceConfig.CPUShare = 500;
This way all unit options are available and users can set/override
options in configuration.nix.
2012-10-01 16:27:42 -04:00
Eelco Dolstra
3e6bb7d1de
Move setting ownership of /nix/store to stage-2-init
...
This is necessary because the store might be bind-mounted read-only.
2012-09-28 10:59:58 -04:00
Eelco Dolstra
a139fa14b1
Optionally make the Nix store read-only to enforce immutability
...
This will be the default once Nix 1.2 is released.
2012-09-25 16:33:21 -04:00
Eelco Dolstra
b02c488fde
Automatically append ".service" to the name of service units
2012-08-23 10:25:27 -04:00
Eelco Dolstra
d4fec178fd
Merge remote-tracking branch 'origin/master' into systemd
2012-08-02 13:44:16 -04:00
Eelco Dolstra
1fcef0a0e0
Don't use nixUnstable
2012-08-02 13:31:57 -04:00
Eelco Dolstra
1602f8e162
Typo
2012-07-20 14:58:15 -04:00
Eelco Dolstra
44d091674b
Merge branch 'master' of github.com:NixOS/nixos into systemd
...
Conflicts:
modules/config/networking.nix
modules/services/networking/ssh/sshd.nix
modules/services/ttys/agetty.nix
modules/system/boot/stage-2-init.sh
modules/system/upstart-events/shutdown.nix
2012-07-16 17:27:11 -04:00
Eelco Dolstra
73532c3855
Global replace /var/run/current-system -> /run/current-system
2012-07-16 11:34:21 -04:00
Eelco Dolstra
88f94d76bc
Use socket-based activation of the Nix daemon
2012-06-18 23:31:07 -04:00
Eelco Dolstra
ca57a8e638
* Add type.
...
svn path=/nixos/trunk/; revision=34345
2012-06-04 14:35:48 +00:00
Eelco Dolstra
801cd7402c
* Don't use ‘chown user.group’ since that syntax is not officially
...
supported (you're supposed to say ‘chown user:group’).
svn path=/nixos/trunk/; revision=34161
2012-05-17 19:43:32 +00:00