Commit graph

343 commits

Author SHA1 Message Date
Michael Raskin 32229e0c05 Make NixOS harder to kill on boot by leaving stale locks for mtab
svn path=/nixos/trunk/; revision=17734
2009-10-09 16:09:56 +00:00
Eelco Dolstra 679c3f9295 * Fix the xfsprogs/jfsutils attribute names. TODO: these shouldn't be
listed in three different places.  The set of "rescue" packages
  should be factored out into a separate module.

svn path=/nixos/trunk/; revision=17727
2009-10-08 13:10:08 +00:00
Rob Vermaas a39b238e69 symlink handling mode for sitecopy backup
svn path=/nixos/trunk/; revision=17716
2009-10-08 11:08:45 +00:00
Rob Vermaas 81e37d8475 added deps for activation scripts of backup modules
svn path=/nixos/trunk/; revision=17714
2009-10-08 09:29:16 +00:00
Rob Vermaas 8d9c51a991 activation script should have unique name
svn path=/nixos/trunk/; revision=17706
2009-10-07 20:05:08 +00:00
Nicolas Pierron 2e34baba3b Rename environment.extraPackages to environment.systemPackages.
svn path=/nixos/trunk/; revision=17705
2009-10-07 17:14:25 +00:00
Sander van der Burg 43b3ccc620 remove unnecessary concatstrings
svn path=/nixos/trunk/; revision=17699
2009-10-07 13:12:45 +00:00
Rob Vermaas 00668de9f1 removed unnecessary optional
svn path=/nixos/trunk/; revision=17697
2009-10-07 13:00:37 +00:00
Rob Vermaas ddf7a784e7 * removed unnecessary comments
svn path=/nixos/trunk/; revision=17696
2009-10-07 12:54:22 +00:00
Rob Vermaas cc5d5b3e77 * removed unnecessary comments
svn path=/nixos/trunk/; revision=17695
2009-10-07 12:53:59 +00:00
Rob Vermaas 06f26e1ad0 * removed unnecessary comments
svn path=/nixos/trunk/; revision=17694
2009-10-07 12:53:27 +00:00
Rob Vermaas e6e3c11dba * moved example to example attribute, changed description of sitecopy backup module
svn path=/nixos/trunk/; revision=17693
2009-10-07 12:52:04 +00:00
Rob Vermaas 15ffc4a296 shouldn't use <'s in description
svn path=/nixos/trunk/; revision=17692
2009-10-07 12:08:04 +00:00
Rob Vermaas 870b2ae68e PostgreSQL should be MySQL
svn path=/nixos/trunk/; revision=17691
2009-10-07 11:58:23 +00:00
Rob Vermaas 704e56667a added nixos modules to perform simple backup scheduling for directories, postgresql and mysql database dumps
svn path=/nixos/trunk/; revision=17690
2009-10-07 11:55:36 +00:00
Nicolas Pierron 9b5611e35e Option "kde.extraPackages" is now deprecated.
svn path=/nixos/trunk/; revision=17682
2009-10-06 19:25:25 +00:00
Nicolas Pierron 2969f36b15 Add the computation of upstart-packages inside the job sub-module by adding
the option named "upstartPkg".

Move the obsolete option "services.extraJobs" to the rename module.

svn path=/nixos/trunk/; revision=17672
2009-10-06 09:30:13 +00:00
Marc Weber 7e72788a39 rewrite sshd using jobAtts serving as example
svn path=/nixos/trunk/; revision=17651
2009-10-05 18:31:30 +00:00
Marc Weber d0c68bc9ab adding jobAttrs which is filled from jobs contents
Purpose: Allow overwriding of properties such as:
           config.jobAttrs.sshd.startOn = "never";

thanks to Nicolas Pierron for reviewing and
extending nixpkgs to make this possible

I'll convert most of the jobs ASAP so please don't care
about the depreceateion much right now

svn path=/nixos/trunk/; revision=17650
2009-10-05 18:31:27 +00:00
Rob Vermaas 0e2c160e2e added privoxy nixos module
svn path=/nixos/trunk/; revision=17646
2009-10-05 15:11:32 +00:00
Eelco Dolstra 8ab6828f31 * Export the manual under system.build.manual to make it easier to
test (nix-build /etc/nixos/nixos -A config.system.build.manual).

svn path=/nixos/trunk/; revision=17644
2009-10-05 13:55:33 +00:00
Eelco Dolstra e4c27acde3 * The mod_php option is no longer implemented.
svn path=/nixos/trunk/; revision=17578
2009-10-01 15:34:51 +00:00
Eelco Dolstra fdab662659 * Add iproute to the system path. It was a dependency of dhclient
already anyway.

svn path=/nixos/trunk/; revision=17512
2009-09-29 15:43:52 +00:00
Nicolas Pierron 5c0c8a4017 Add messages inside the renaming process to force user to rename their
options.

Add the "deprecated" status which breaks until options are manually
renamed.

svn path=/nixos/trunk/; revision=17508
2009-09-29 15:21:36 +00:00
Nicolas Pierron 08c3069e40 Add obsolete "boot.grubSplashImage".
svn path=/nixos/trunk/; revision=17507
2009-09-29 15:03:08 +00:00
Eelco Dolstra a5ad5a035e * Firewall: by default, only log rejected TCP connections. Otherwise
you get a lot of garbage in the log.  Also, an option to reject
  instead of drop packets.

svn path=/nixos/trunk/; revision=17505
2009-09-29 14:21:56 +00:00
Nicolas Pierron eb1ee3206e Rename module:
- Improve error messages.

svn path=/nixos/trunk/; revision=17500
2009-09-29 13:44:07 +00:00
Eelco Dolstra d142b8a13b * Remove the ACPI actions. There's obsolete now (handled by HAL /
pm-utils / KDE).

svn path=/nixos/trunk/; revision=17495
2009-09-29 09:52:25 +00:00
Eelco Dolstra 636a9e7e32 * Add rename clauses for the old Grub options.
* Renamed some of the new Grub options to more sensible names
  (e.g. extraGrubEntries to extraEntries, bootMount to bootDevice,
  etc.).

svn path=/nixos/trunk/; revision=17494
2009-09-29 09:50:38 +00:00
Nicolas Pierron c9f5889ad1 move "environment.extraPackages" into the rename module.
svn path=/nixos/trunk/; revision=17485
2009-09-28 18:26:18 +00:00
Nicolas Pierron 7568587e88 Add a renaming module. This module introduce the rename function to
fetch definitions of oldest options and to add them inside the new option.

Properties are still valid and will not be affected by the renaming. e.g:

with: rename alias "foo.bar" to "baz.quz"
and with the following module:

{
  foo.bar = (mkOverride 10 {}) 42;
  baz.quz = 21;
}

the result of baz.quz would be 42 because the priority is still working
after the renaming.

svn path=/nixos/trunk/; revision=17484
2009-09-28 18:26:13 +00:00
Eelco Dolstra 373445c410 * Start bluetoothd from udev.
svn path=/nixos/trunk/; revision=17475
2009-09-28 16:37:46 +00:00
Eelco Dolstra 647d9ba3b6 * udev: removed the /var/run/devices-created hack. It's no longer
needed now that we don't use pam_devperm anymore.  When udev is
  restarted, it now asks ConsoleKit to get the active users and sets
  device ACLs accordingly.

svn path=/nixos/trunk/; revision=17474
2009-09-28 16:27:01 +00:00
Lluís Batlle i Rossell 4163ff95b4 Reverting r17459 - I had wpa_supplicant addapted to my system (nic device), and
I didn't want to commit that for all nixos users. We may write some day a better
wpa_supplicant solution.

svn path=/nixos/trunk/; revision=17462
2009-09-27 21:54:38 +00:00
Lluís Batlle i Rossell b0a6c15f42 Fixing a reference to a grub in kdm, I hadn't tested before.
svn path=/nixos/trunk/; revision=17461
2009-09-27 21:51:47 +00:00
Lluís Batlle i Rossell 75f6cd20da Making modular my previous changes for armv5tel. I updated the way to use
grub. Its options are no more inside 'boot', but inside 'boot.loader.grub'.
I added a new bootloader configuration for nixos, generationsDir. It creates
/boot/default/{init,initrd,kernel,system} symlinks, and the same for the generations
in /boot/system-$gen/{init,initrd,kernel,system}.

I can program the u-boot loader to load /boot/default files always, and have
a minimal nixos boot loader installer functionality. Additionally, I can refer
to the other system generations easily, with a simple 'ls' in /boot.

svn path=/nixos/trunk/; revision=17460
2009-09-27 21:51:37 +00:00
Lluís Batlle i Rossell 852478ff79 Making supplicant work on eth1
svn path=/nixos/trunk/; revision=17459
2009-09-27 21:51:22 +00:00
Nicolas Pierron a701637f94 Use servicePath instead of relative paths.
svn path=/nixos/trunk/; revision=17454
2009-09-26 23:04:43 +00:00
Eelco Dolstra c5d45514a1 * Don't restart dbus, since that causes ConsoleKit to forget about
current sessions.

svn path=/nixos/trunk/; revision=17452
2009-09-26 21:00:47 +00:00
Eelco Dolstra 17d0b83eef * Enable power management support in HAL. So now you can for instance
suspend from within KDE.

svn path=/nixos/trunk/; revision=17451
2009-09-26 20:37:48 +00:00
Eelco Dolstra b3818c1a77 * Add eject to the system path.
svn path=/nixos/trunk/; revision=17448
2009-09-26 18:57:34 +00:00
Eelco Dolstra d933f55e45 * Tell PolicyKit about the policies of HAL and ConsoleKit.
svn path=/nixos/trunk/; revision=17439
2009-09-26 10:32:57 +00:00
Eelco Dolstra 693e017bfe * HAL expects a /media directory for mounting removable media.
svn path=/nixos/trunk/; revision=17437
2009-09-26 10:27:47 +00:00
Eelco Dolstra 3d5462c980 * Install a PolicyKit policy configuration file. There should be a
configuration option to add to this file.

svn path=/nixos/trunk/; revision=17436
2009-09-26 00:07:52 +00:00
Eelco Dolstra a83e308856 * Clean up ConsoleKit.
svn path=/nixos/trunk/; revision=17434
2009-09-25 23:18:52 +00:00
Eelco Dolstra 69f68c319d * A module for the old PolicyKit.
svn path=/nixos/trunk/; revision=17433
2009-09-25 23:06:38 +00:00
Eelco Dolstra 684eb63658 * fsck is no longer in e2fsprogs.
* Don't try to remount CIFS filesystems.
* For devices specified by label, use /dev/disk/by-label instead of
  LABEL=.  The initrd already did this.
* Improved the flagging of pseudo devices.

svn path=/nixos/trunk/; revision=17431
2009-09-25 22:38:37 +00:00
Eelco Dolstra 530c96761a * Start dbus after udev. Otherwise ConsoleKit may or may not
recognise X logins as active sessions (i.e. ck-list-sessions will
  show "active = FALSE", and the user doesn't get ownership of
  devices).  I guess console-kit-daemon (which is started by dbus)
  needs some device in /dev to exist.

svn path=/nixos/trunk/; revision=17428
2009-09-25 20:41:15 +00:00
Eelco Dolstra 3e5912833d * For consistency with Nixpkgs.
svn path=/nixos/trunk/; revision=17427
2009-09-25 20:12:35 +00:00
Eelco Dolstra 38898d5304 * r17391 changed the mingetty ttys to device names instead of tty
numbers.  This also requires kbd and tty-backgrounds to be updated
  (and by extension syslogd and rogue).  Also updated the style of
  those modules.

svn path=/nixos/trunk/; revision=17424
2009-09-25 19:55:08 +00:00