Peter Simons
8c88506e05
modules/config/networking.nix: list extraHosts *after* the local hostname
...
This change allows using extraHosts to specify additional aliases for 127.0.0.1
without overriding the local hostname in the process.
svn path=/nixos/trunk/; revision=32711
2012-02-29 21:25:12 +00:00
Florian Friesdorf
fa344f60d9
pathsToLink: emacs org mode contrib folder
...
svn path=/nixos/trunk/; revision=31795
2012-01-23 17:14:24 +00:00
Arie Middelkoop
50d7a38c82
Added the "conservative" governer to the loaded cpufreq governors when you enable powermanagement.
...
svn path=/nixos/trunk/; revision=31524
2012-01-13 22:25:16 +00:00
Eelco Dolstra
cc41bce79d
* Prevent merging of some options. P.S. maybe string options
...
should be "uniq" by default.
svn path=/nixos/trunk/; revision=31520
2012-01-13 13:26:52 +00:00
Florian Friesdorf
f169f60575
powerManagement.enable sets link_power_management_policy to min_power
...
svn path=/nixos/trunk/; revision=31490
2012-01-12 07:54:09 +00:00
Florian Friesdorf
05a49f663e
include /share/terminfo into default pathsToLink
...
svn path=/nixos/trunk/; revision=31144
2011-12-29 19:38:00 +00:00
Florian Friesdorf
8ed89125b5
linewrap pathsToLink
...
svn path=/nixos/trunk/; revision=31143
2011-12-29 19:37:54 +00:00
Eelco Dolstra
cf36b3db80
* If power management is enabled, set the governor to ‘ondemand’ by
...
default. See
http://www.codon.org.uk/~mjg59/power/good_practices.html
for the reasoning. (Basically, the ‘performance’ and ‘powersave’
governors don't actually provide extra performance or power savings
in most cases.)
It used to be that desktop environments like KDE were able to set
the governor through HAL (e.g. KDE could be configured to switch to
the powersave governor when the user unplugs his laptop). However,
this is no longer the case with upower — it is now expected that
everybody uses the ondemand governor. See
http://old.nabble.com/-PATCH--powerdevil-remove-cpufreq.patch-td27815354.html
* Rename ‘cpuFreqGovernor’ to ‘powerManagement.cpuFreqGovernor’.
* Include cpufreq-utils in the system path if a governor is set, since
we depend on it anyway.
svn path=/nixos/trunk/; revision=30991
2011-12-20 22:44:58 +00:00
Michael Raskin
d06c45ec86
Let hostname --fqdn find proper hostname
...
svn path=/nixos/trunk/; revision=30976
2011-12-20 12:35:12 +00:00
Nicolas Pierron
e264d1ab79
Convert users.extraUsers to an option set and add support for openssh
...
authorized_keys file generation.
svn path=/nixos/trunk/; revision=30611
2011-11-29 06:08:55 +00:00
Eelco Dolstra
d89f4b6c76
* Revert r30370, it's no longer needed.
...
svn path=/nixos/trunk/; revision=30389
2011-11-11 15:02:30 +00:00
Evgeny Egorochkin
c1d7c0d6bd
Remove swap cipher option because it isn't implemented and is misleading new users
...
svn path=/nixos/trunk/; revision=30371
2011-11-10 16:39:04 +00:00
Evgeny Egorochkin
698a02ee43
PulseAudio: fix config file paths
...
svn path=/nixos/trunk/; revision=30370
2011-11-10 16:37:31 +00:00
Lluís Batlle i Rossell
de5eedb612
Adding the hostname.domain and localhost.domain to hosts, if possible.
...
Postfix likes this.
svn path=/nixos/trunk/; revision=30362
2011-11-09 21:02:01 +00:00
Eelco Dolstra
6f8e30313f
* The "audio" group should always exist, even if the ALSA module is
...
disabled, because udev rules refer to it.
svn path=/nixos/trunk/; revision=30229
2011-11-04 17:40:00 +00:00
Nicolas Pierron
262e883554
Add more options for LDAP module. (timeLimit, bind.timeLimit, bind.policy)
...
Patch by Rickard Nilsson.
svn path=/nixos/trunk/; revision=30138
2011-10-30 18:46:31 +00:00
Peter Simons
20b364f4de
Reverting revisions 30103-30106: "always set nixpkgs.config.{state,store}Dir", etc.
...
After the change from revision 30103, nixos-rebuild suddenly consumed
freaky amounts of memory. I had to abort the process after it had
allocated well in excess of 30GB(!) of RAM. I'm not sure what is causing
this behavior, but undoing that assignment fixes the problem. The other
two commits needed to be revoked, too, because they depend on 30103.
svn path=/nixos/trunk/; revision=30127
2011-10-30 15:19:58 +00:00
Shea Levy
09cf6ce70c
find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g'
...
Don't assume /nix/store or /nix/var in NixOS modules, this is configurable
svn path=/nixos/trunk/; revision=30104
2011-10-29 21:03:57 +00:00
Eelco Dolstra
ce822289c3
* Create /etc/localtime as a symlink to the right zoneinfo file.
...
However, this won't do anything until we merge the stdenv branch.
svn path=/nixos/trunk/; revision=30071
2011-10-27 19:36:03 +00:00
Nicolas Pierron
47a1941696
LDAP non-anonymous bind.
...
Patch by Rickard Nilsson.
svn path=/nixos/trunk/; revision=29563
2011-10-02 13:24:10 +00:00
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra
7a7d781e6a
* Allow the PulseAudio server to be overriden.
...
svn path=/nixos/trunk/; revision=28112
2011-08-01 13:26:51 +00:00
Eelco Dolstra
77c85b1de7
* Install /etc/pulse/default.pa and /etc/pulse/system.pa.
...
* If PulseAudio is disabled in the NixOS config, then disable
autospawning of the PulseAudio server in /etc/pulse/client.conf.
svn path=/nixos/trunk/; revision=27966
2011-07-26 17:35:47 +00:00
Eelco Dolstra
645205b600
* Add a module for rtkit. The PulseAudio module enables rtkit to
...
acquire real-time priority.
svn path=/nixos/trunk/; revision=27963
2011-07-26 14:14:10 +00:00
Eelco Dolstra
8bf3c2c1bf
* The implementation of the ALSA_PLUGIN_DIRS variable is buggy:
...
because it uses strtok() to modify the environment variable in
place, it only works correctly the first time it's called.
Subsequent calls only see the first directory listed in the
variable. This causes applications such as Audacious to fail
because the Pulse plugin is not in the first directory. However, we
don't actually need $ALSA_PLUGIN_DIRS, because /etc/asound.conf
allows the full path to the Pulse plugin to be specified.
svn path=/nixos/trunk/; revision=27960
2011-07-26 13:00:43 +00:00
Eelco Dolstra
7bdaedb465
* Add a module to enable PulseAudio. It causes all ALSA applications
...
to be rerouted to PulseAudio.
Note that this is distinct from the already existing module
‘services/audio/pulseaudio.nix’ that provides a system-wide
PulseAudio daemon, which is usually not what you want.
svn path=/nixos/trunk/; revision=27958
2011-07-26 01:51:56 +00:00
Eelco Dolstra
6e7ce112bb
* Create /etc/shells. KDM in KDE 4.7 requires it.
...
svn path=/nixos/trunk/; revision=27804
2011-07-17 10:45:49 +00:00
Eelco Dolstra
010a2a7555
* Support creating non-system user accounts.
...
svn path=/nixos/trunk/; revision=27545
2011-06-27 08:50:30 +00:00
Michael Raskin
be85cdacfd
Fix space-containing name processing
...
svn path=/nixos/trunk/; revision=27313
2011-05-28 20:08:49 +00:00
Michael Raskin
25bb8b3d55
Link TrueType/OpenType fonts to all-fonts directory, too
...
svn path=/nixos/trunk/; revision=27312
2011-05-28 19:58:43 +00:00
Lluís Batlle i Rossell
8dfc5d041a
Adding 'ethers' on nsswitch.
...
svn path=/nixos/trunk/; revision=26913
2011-04-20 20:59:07 +00:00
Lluís Batlle i Rossell
84bea7a351
I change the ldap settings so pam_unix and 'files' always go in front of ldap,
...
instead of the opposite. Thus, /etc/passwd has priority over ldap.
svn path=/nixos/trunk/; revision=26834
2011-04-13 20:48:50 +00:00
Eelco Dolstra
28e4ac1af2
* Generically handle the case where $out/share/mime/packages or one of
...
its parents is a symlink.
svn path=/nixos/trunk/; revision=25776
2011-02-05 06:58:15 +00:00
Sander van der Burg
aa2e768fe4
Another strange error, which I fixed
...
svn path=/nixos/trunk/; revision=25730
2011-01-30 17:27:24 +00:00
Sander van der Burg
f30f71b7fa
Fixed a syntax error
...
svn path=/nixos/trunk/; revision=25727
2011-01-30 16:13:47 +00:00
Ludovic Courtès
9d984837c9
GNU: Disable GRUB by default on ARM.
...
svn path=/nixos/trunk/; revision=25719
2011-01-29 23:07:06 +00:00
Eelco Dolstra
ef243b7fc2
* Fix a syntax error in the sleep hook that broke suspend.
...
svn path=/nixos/trunk/; revision=25038
2010-12-08 19:46:52 +00:00
Lluís Batlle i Rossell
d5fb41795f
Adding a wake on lan module.
...
svn path=/nixos/trunk/; revision=24958
2010-12-02 20:23:45 +00:00
Michael Raskin
c77c3ab22c
Remove ttmkfdir reference
...
svn path=/nixos/trunk/; revision=24662
2010-11-11 13:24:37 +00:00
Ludovic Courtès
dc18e5488a
NSS-mDNS: Allow both IPv4 and IPv6 address resolution.
...
svn path=/nixos/trunk/; revision=24150
2010-10-07 20:10:40 +00:00
Eelco Dolstra
f729f12e4e
Some cleanups in the activation script:
...
* Moved some scriptlets to the appropriate modules.
* Put the scriptlet that sets the default path at the start, since it
never makes sense not to have it there. It no longer needs to be
declared as a dependency.
* If a scriptlet has no dependencies, it can be denoted as a plain
string (i.e., `noDepEntry' is not needed anymore).
svn path=/nixos/trunk/; revision=23762
2010-09-13 15:41:38 +00:00
Eelco Dolstra
1fcefe39a1
* Add share/emacs to the paths to symlink.
...
svn path=/nixos/trunk/; revision=23184
2010-08-16 08:00:18 +00:00
Eelco Dolstra
cfb465c7a5
svn path=/nixos/trunk/; revision=23115
2010-08-11 15:10:17 +00:00
Eelco Dolstra
cddc67a653
* Try to load the p4_clockmod kernel module, which provides
...
CPU frequency scaling on some Intel CPUs.
svn path=/nixos/trunk/; revision=23082
2010-08-10 01:00:09 +00:00
Eelco Dolstra
163a54886c
* Include fontconfig in the system path (for fc-list, fc-match etc.).
...
svn path=/nixos/trunk/; revision=23080
2010-08-10 00:03:36 +00:00
Eelco Dolstra
c388446bb0
* Xfce is now more or less functional.
...
svn path=/nixos/trunk/; revision=23075
2010-08-09 21:59:34 +00:00
David Guibert
6c8c1f935a
nixos: authenticate through kerberos
...
config.krb5.enable needs to be set as true.
Also use pam_ccreds to cache Kerberos credentials for offline logins.
svn path=/nixos/trunk/; revision=22986
2010-08-06 08:50:48 +00:00
Eelco Dolstra
86d53a5b8b
* Load the cpufreq modules, since these are not loaded automatically
...
by udev. The kernel can load governors on demand, but if they are
not loaded, HAL doesn't know about them and they don't show up in
the KDE System Settings.
svn path=/nixos/trunk/; revision=22567
2010-07-12 17:50:02 +00:00
Eelco Dolstra
7123115d6f
* Call update-mime-database.
...
svn path=/nixos/trunk/; revision=22528
2010-07-08 12:55:18 +00:00
Eelco Dolstra
bb2d97770e
* Move the swap module to config/ because it doesn't provide a task
...
anymore. Activating swap devices is now handled by the mountall
task.
svn path=/nixos/branches/boot-order/; revision=22489
2010-07-06 09:01:15 +00:00
Eelco Dolstra
5702557a65
* Put e2fsprogs etc. in mountall's $PATH so that fsck works.
...
svn path=/nixos/branches/boot-order/; revision=22151
2010-06-04 15:35:32 +00:00
Eelco Dolstra
6676bbe61d
svn path=/nixos/trunk/; revision=22111
2010-06-02 23:02:09 +00:00
Eelco Dolstra
c089738bdc
* Use the shadow' package instead of
pwdutils', `pam_login' and
...
`su'.
* The `usermod' from `shadow' allows setting a supplementary group
equal to the user's primary group, so the special hack for the
`nixbld' group is no longer needed.
* Removed /etc/default/passwd since it's not used by the new passwd.
The hash is configured in pam_unix.
* Move some values for `security.setuidPrograms' and
`security.pam.services' to the appropriate modules.
svn path=/nixos/trunk/; revision=22107
2010-06-02 21:10:48 +00:00
Eelco Dolstra
7d9644f725
svn path=/nixos/trunk/; revision=22045
2010-05-28 11:24:41 +00:00
Lluís Batlle i Rossell
f13cf2cee0
Adding example for the fonts.extraFonts
...
(thanks roconnor)
svn path=/nixos/trunk/; revision=21817
2010-05-17 14:09:22 +00:00
Eelco Dolstra
7484774172
* Activate software RAID devices from udev. This makes the swraid
...
Upstart jobs unnecessary.
* Support having the root filesystem on swraid.
svn path=/nixos/trunk/; revision=21807
2010-05-16 20:40:04 +00:00
Lluís Batlle i Rossell
825923a051
Adding the 'awesome' window manager to nixos.
...
I made the system sw path include /etc/xdg - awesome looks for some file
in the XDG_CONFIG_DIRS, which in bashrc is set to point to the profiles/etc/xdg
svn path=/nixos/trunk/; revision=21675
2010-05-08 23:24:00 +00:00
Ludovic Courtès
8fcbaefd2e
Refer to IceCat instead of Firefox.
...
svn path=/nixos/trunk/; revision=21636
2010-05-06 20:52:06 +00:00
Lluís Batlle i Rossell
d7406769ac
Making /var/run/utmp writable by the 'utmp' group.
...
Then, people can choose a setgid utmp for their xterm, konsole or whatever to get the terminals
reported there.
svn path=/nixos/trunk/; revision=21238
2010-04-22 13:56:26 +00:00
Yury G. Kudryashov
8e8554242f
Remove extraLinkPaths, thanks to Pierron for explanation
...
Now pathsToLink=["/include"] in configuration.nix will add /include instead of overwriting.
svn path=/nixos/trunk/; revision=21111
2010-04-16 05:09:10 +00:00
Yury G. Kudryashov
1e83fe6122
Remove tabs
...
svn path=/nixos/trunk/; revision=21104
2010-04-15 15:47:26 +00:00
Yury G. Kudryashov
dcd0be3351
Allow additions to pathsToLink
...
svn path=/nixos/trunk/; revision=21101
2010-04-15 15:46:55 +00:00
Yury G. Kudryashov
eea1660532
no-x-libs: s/sshd/openssh/
...
svn path=/nixos/trunk/; revision=21009
2010-04-11 14:47:06 +00:00
Ludovic Courtès
18542f6424
GNU: Don't require modules since we don't need to.
...
svn path=/nixos/trunk/; revision=20584
2010-03-11 22:54:47 +00:00
Ludovic Courtès
a6b89666fd
First stab at a GNU module.
...
svn path=/nixos/trunk/; revision=20576
2010-03-11 17:02:57 +00:00
Eelco Dolstra
a104f07a07
* Move the definition of the Nix build users out of user-groups.nix to
...
nix-daemon.nix.
* Add an option ‘nix.nrBuildUsers’ to allow the number of build users
to be overriden.
svn path=/nixos/trunk/; revision=20571
2010-03-11 16:50:08 +00:00
Eelco Dolstra
9a0789a81e
* Add devicemapper to the system path.
...
svn path=/nixos/trunk/; revision=19292
2010-01-07 15:55:05 +00:00
Eelco Dolstra
0d095de38a
* Revert r18985, but now handle the case where a nixbld user doesn't
...
exist yet. Ludo's original patch only worked in the "update" case.
Also, do this only for the nixbld group.
svn path=/nixos/trunk/; revision=18990
2009-12-16 13:35:03 +00:00
Marc Weber
6c30ba3e48
fix nix-build trouble after fresh install:
...
problem:
Nix only recognizes nixbld users which have nixbld set in extraGroups.
After installation the user was created by activate with group='nixbld'
and extraGroups=[]
After rebooting a conditional shell script fixed this by adding
extraGroups=["nixbld"].
This patches creates the user they way it was in the past with
group='nobody' and extraGroups=["nixbld"].
Another solution would be making nix be aware of the primary group as
well. However this would require everyone to update Nix after updating
NixOS.
svn path=/nixos/trunk/; revision=18985
2009-12-16 04:55:31 +00:00
Ludovic Courtès
83d657b102
Change the Nix build users to have no supplementary group.
...
For details, see:
http://thread.gmane.org/gmane.linux.distributions.nixos/3264
http://thread.gmane.org/gmane.linux.distributions.nixos/3263/focus=3289
svn path=/nixos/trunk/; revision=18918
2009-12-13 15:29:42 +00:00
Eelco Dolstra
9174b4ab42
* Provide a convience option for commands that must be executed both
...
when the system boots and when it resumes from suspend.
svn path=/nixos/branches/upstart-0.6/; revision=18354
2009-11-15 12:56:40 +00:00
Eelco Dolstra
1affc9168e
* Move power management configuration into a separate module from
...
the acpid service.
* Add a pm-utils hook to allow commands to be executed when the system
suspends/resumes etc.
svn path=/nixos/branches/upstart-0.6/; revision=18353
2009-11-15 12:48:42 +00:00
Eelco Dolstra
d1bbe706a2
* Synced with the trunk.
...
svn path=/nixos/branches/upstart-0.6/; revision=18297
2009-11-08 21:27:53 +00:00
Marco Maggesi
ae23b68ee8
Add configurations for MIT kerberos.
...
svn path=/nixos/trunk/; revision=18203
2009-11-06 12:58:44 +00:00
Eelco Dolstra
b581a56d79
* Define the Upstart package to use in one place.
...
svn path=/nixos/branches/upstart-0.6/; revision=18187
2009-11-06 09:36:35 +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
c9f5889ad1
move "environment.extraPackages" into the rename module.
...
svn path=/nixos/trunk/; revision=17485
2009-09-28 18:26:18 +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
Eelco Dolstra
b3818c1a77
* Add eject to the system path.
...
svn path=/nixos/trunk/; revision=17448
2009-09-26 18:57:34 +00:00
Lluís Batlle i Rossell
8b9f510b08
Removing grub from the system expression for armv5tel-linux.
...
svn path=/nixos/trunk/; revision=17392
2009-09-23 20:51:00 +00:00
Michael Raskin
69cc6ce3ec
Refactoring modules and cleaning up a comment
...
svn path=/nixos/trunk/; revision=17310
2009-09-20 18:15:52 +00:00
Michael Raskin
de555c3705
Reduce size of iso-minimal-fresh-kernel and make it easier to install offline
...
svn path=/nixos/trunk/; revision=17301
2009-09-20 15:07:19 +00:00
Eelco Dolstra
331bee12a4
* Fold the functionality of guest-users.nix into users-groups.nix by
...
adding an attribute "password" that defines the default password for
an account. The default (null, as opposed to the empty string)
means not to set a password.
svn path=/nixos/trunk/; revision=16937
2009-09-02 17:35:24 +00:00
Eelco Dolstra
c21b02d34b
* Add some groups required by the latest udev.
...
svn path=/nixos/trunk/; revision=16667
2009-08-11 09:17:30 +00:00
Ludovic Courtès
6d2cc812c2
Make the Liberation Fonts available by default.
...
svn path=/nixos/branches/modular-nixos/; revision=16274
2009-07-09 12:10:58 +00:00
Ludovic Courtès
fa9f557b96
Add `localhost' under its "real" host name to /etc/hosts.
...
svn path=/nixos/branches/modular-nixos/; revision=16258
2009-07-08 16:10:09 +00:00
Ludovic Courtès
a62e1cf2dd
Disable proprietary fonts by default.
...
svn path=/nixos/branches/modular-nixos/; revision=16253
2009-07-08 14:52:58 +00:00
Ludovic Courtès
d68e177909
Oops.
...
svn path=/nixos/branches/modular-nixos/; revision=16064
2009-06-26 21:39:31 +00:00
Ludovic Courtès
dbac392266
Fix typo in `config/nsswitch.nix'.
...
svn path=/nixos/branches/modular-nixos/; revision=16063
2009-06-26 21:24:18 +00:00
Eelco Dolstra
1c6bbf6784
* Add diffutils, gawk and patch to the system path.
...
svn path=/nixos/branches/modular-nixos/; revision=15943
2009-06-12 11:12:46 +00:00
Eelco Dolstra
eb8b534173
* Include only the en_US locale on the CD. This saves 75 MiB or so.
...
svn path=/nixos/branches/modular-nixos/; revision=15883
2009-06-05 17:19:30 +00:00
Eelco Dolstra
dc8cbffe31
* Revert r15862, as the "host" package in system-path.nix (or any other
...
package) can be overriden by setting environment.systemPackages in
/etc/nixos/configuration.nix: it shouldn't be special-cased.
svn path=/nixos/branches/modular-nixos/; revision=15863
2009-06-05 12:57:44 +00:00
Michael Raskin
7e2574c4fd
Let host be overriden with a better ISC Bind version if the latter is installed
...
svn path=/nixos/branches/modular-nixos/; revision=15862
2009-06-05 12:44:32 +00:00
Eelco Dolstra
5bcfbcac88
* We lost the "host" command somewhere.
...
svn path=/nixos/branches/modular-nixos/; revision=15861
2009-06-05 12:39:37 +00:00
Eelco Dolstra
dba1d48b78
* Move the uid/gid mappings into a module. This allows other modules
...
to use it through config.ids.{uids,gids} rather than `import
relative-path/ids.nix'.
svn path=/nixos/branches/modular-nixos/; revision=15796
2009-05-29 14:25:56 +00:00
Eelco Dolstra
81d8c2e1c8
* Move the info wrapper into a module.
...
svn path=/nixos/branches/modular-nixos/; revision=15792
2009-05-29 13:29:49 +00:00
Eelco Dolstra
548fb6a1a5
* Move the optional parts of the system path to the appropriate
...
modules.
svn path=/nixos/branches/modular-nixos/; revision=15791
2009-05-29 13:15:31 +00:00
Eelco Dolstra
f36643b6c2
* Move the installer tools to modules/installer/tools.
...
svn path=/nixos/branches/modular-nixos/; revision=15788
2009-05-29 12:41:29 +00:00
Eelco Dolstra
df96e5c456
* Move nixos-checkout into its own module.
...
svn path=/nixos/branches/modular-nixos/; revision=15787
2009-05-29 12:24:48 +00:00
Eelco Dolstra
19e0f46b0e
* One down, three to go.
...
svn path=/nixos/branches/modular-nixos/; revision=15784
2009-05-29 10:04:04 +00:00