Commit Graph
100 Commits
Author SHA1 Message Date
Rickard Nilsson dd592d7ef3 spotify: Fix missing src url for qt. Add missing dependencies. 2014-05-13 12:04:45 +02:00
Rickard Nilsson b87b6870f8 When auto-formatting ext devices, use the -F flag to make it work with unpartioned disks 2014-05-09 16:49:03 +02:00
Rickard Nilsson 5a0c8ff040 Merge pull request #2548 from proger/sysdig-0.1.81
sysdig: update to 0.1.81
2014-05-08 10:45:18 +02:00
Rickard Nilsson 7336218a9e postfix: Add version 2.11.0 as nixpkgs.postfix211
I think this version should replace the current nixpkgs.postfix,
but it could potentially break stuff since the version jump is
big (2.8 -> 2.11).
2014-04-24 11:56:54 +02:00
Rickard Nilsson e87343f5d4 haveged: Update from 1.7c to 1.9.1 2014-04-22 21:55:41 +02:00
Rickard Nilsson cfa5b5778c pulseaudio module: Use pid-file for system-wide daemon, add loglevel option 2014-04-21 23:22:11 +02:00
Rickard Nilsson 0f9499887e pulseaudio: Update from 4.0 to 5.0 2014-04-21 23:22:10 +02:00
Rickard Nilsson 5db9287b7c rtkit: Update from 0.10 to 0.11 2014-04-21 23:22:10 +02:00
Rickard Nilsson 6b634673f9 Add remarkjs 0.6.4, a markdown-driven slideshow tool
Also, add required node packages (and update generated node pkgs).
2014-04-21 01:27:23 +02:00
Rickard Nilsson fe7599b2b2 openldap: Update from 2.4.38 to 2.4.39 2014-04-10 14:10:33 +02:00
Rickard Nilsson 604306c34a Don't add users if createUser is false 2014-04-08 12:36:03 +02:00
Rickard Nilsson bf129a2c23 Allow undefined uids and gids when mutableUsers = true
Groups and users without gid/uid are created with
useradd/groupadd after the passwd/group merge phase
if mutableUsers = true.

This should fix #2114.
2014-04-06 12:42:55 +02:00
Rickard Nilsson 61ecf919e1 New package: wal-e
A Postgres WAL-shipping disaster recovery and replication toolkit
2014-03-30 04:34:38 +02:00
Rickard Nilsson 6a60fc3bdd solr module: Activate JSP support in Winstone
Required by older versions of solr. The JSP support
in Winstone seems spotty, but at one point we'll switch
over to Jetty instead.
2014-03-21 12:04:52 +01:00
Rickard Nilsson 043bf5a941 mysql service: Shutdown with normal systemd SIGTERM instead of mysqladmin
According to the MySQL manual, this is a perfectly legal way of
shutting down the server. The shutdown logs also looks fine:

systemd[1]: Stopping MySQL Server...
mysqld[5114]: 140319  8:36:12 [Note] /nix/store/sc26mz82k97mbpx3d1abzn3rrbd155ws-mariadb-10.0.8/bin/mysqld: Normal shutdown
mysqld[5114]: 140319  8:36:12 [Note] Event Scheduler: Purging the queue. 0 events
mysqld[5114]: 140319  8:36:12 [Note] InnoDB: FTS optimize thread exiting.
mysqld[5114]: 140319  8:36:12 [Note] InnoDB: Starting shutdown...
mysqld[5114]: 140319  8:36:14 [Note] InnoDB: Shutdown completed; log sequence number 1619078
mysqld[5114]: 140319  8:36:14 [Note] /nix/store/sc26mz82k97mbpx3d1abzn3rrbd155ws-mariadb-10.0.8/bin/mysqld: Shutdown complete
systemd[1]: Stopped MySQL Server.
2014-03-19 08:41:07 +01:00
Rickard Nilsson 191bd1c26a dovecot22: Update from 2.2.6 to 2.2.12 2014-03-14 10:34:21 +01:00
Rickard Nilsson 3ed3c60d0f New NixOS module: services.solr, for running a solr server 2014-03-13 00:32:59 +01:00
Rickard Nilsson 91e6d7411e winstone NixOS module: Make it possible to set systemd service name 2014-03-12 23:28:38 +01:00
Rickard Nilsson 040df9c41a New package: solr 4.7.0, a Java search platform 2014-03-12 23:14:09 +01:00
Rickard Nilsson f24940330b New NixOS module: services.winstone, for running instances of the Winstone Java Servlet container 2014-03-12 23:14:09 +01:00
Rickard Nilsson ec3dbdf93d New package: winstone 0.9.10, a Java Servlet container 2014-03-12 23:14:09 +01:00
Rickard Nilsson 4e23573138 phpfpm module: Make extraConfig and poolConfigs mergeable by switching option type to types.lines 2014-03-12 11:45:31 +01:00
Rickard Nilsson 562a8ca4a2 Add phpfpm NixOS service module 2014-03-12 11:38:50 +01:00
Rickard Nilsson a3bf4df6e4 libvirt-python: Update from 1.2.0 to 1.2.2 2014-03-12 08:33:43 +01:00
Rickard Nilsson 773d886f51 libvirt: Clean up nix file, update meta 2014-03-12 08:27:05 +01:00
Rickard Nilsson 28437226ae libvirt: Update from 1.2.0 to 1.2.2 2014-03-11 18:27:09 +01:00
Rickard Nilsson bd76470d9b opensmtpd: Update to 5.4.2p1 2014-03-06 11:31:29 +01:00
Rickard Nilsson d5211b0e0e Make initialRootPassword overrideable in all virtualisation modules, not just virtualbox. 2014-02-24 18:05:26 +01:00
Rickard Nilsson fc90a739ba networkmanager module: No need to start ModemManager explicitly, done by NM 2014-02-13 18:05:04 +01:00
Rickard Nilsson 0d506296f0 networkmanager: Build with ModemManager support 2014-02-13 18:05:04 +01:00
Rickard Nilsson 129d1b9851 modemmanager: Update from 0.7.991 to 1.2.0 2014-02-13 18:05:04 +01:00
Rickard Nilsson bcb7925562 New package: The vimb web browser 2014-02-12 19:42:39 +01:00
Rickard Nilsson 83ca1bec30 Fix references to ca-bundle.
Several packages referred to /etc/ca-bundle.crt, that
was removed in 9c616e3. I've changed those references to
/etc/ssl/certs/ca-bundle.crt instead.
2014-02-12 19:30:32 +01:00
Rickard Nilsson f2a7622a6d Add smtps-gmail Haskell package 2014-02-11 11:56:47 +01:00
Rickard Nilsson 72ba2bf126 Add description to group.members option 2014-02-05 15:56:51 +01:00
Rickard Nilsson 0b92ad02c8 Re-introduce security.initialRootPassword, and add a new option users.extraUsers.<user>.hashedPassword 2014-02-05 15:56:51 +01:00
Rickard Nilsson 03ee174032 Only add shadow to system packages if users.mutableUsers is true 2014-02-05 15:56:51 +01:00
Rickard Nilsson eb2f44c18c Generate /etc/passwd and /etc/group at build time
This is a rather large commit that switches user/group creation from using
useradd/groupadd on activation to just generating the contents of /etc/passwd
and /etc/group, and then on activation merging the generated files with the
files that exist in the system. This makes the user activation process much
cleaner, in my opinion.

The users.extraUsers.<user>.uid and users.extraGroups.<group>.gid must all be
properly defined (if <user>.createUser is true, which it is by default). My
pull request adds a lot of uids/gids to config.ids to solve this problem for
existing nixos services, but there might be configurations that break because
this change. However, this will be discovered during the build.

Option changes introduced by this commit:

* Remove the options <user>.isSystemUser and <user>.isAlias since
they don't make sense when generating /etc/passwd statically.

* Add <group>.members as a complement to <user>.extraGroups.

* Add <user>.passwordFile for setting a user's password from an encrypted
(shadow-style) file.

* Add users.mutableUsers which is true by default. This means you can keep
managing your users as previously, by using useradd/groupadd manually. This is
accomplished by merging the generated passwd/group file with the existing files
in /etc on system activation. The merging of the files is simplistic. It just
looks at the user/group names. If a user/group exists both on the system and
in the generated files, the system entry will be kept un-changed and the
generated entries will be ignored. The merging itself is performed with the
help of vipw/vigr to properly lock the account files during edit.
If mutableUsers is set to false, the generated passwd and group files will not
be merged with the system files on activation. Instead they will simply replace
the system files, and overwrite any changes done on the running system. The
same logic holds for user password, if the <user>.password or
<user>.passwordFile options are used. If mutableUsers is false, password will
simply be replaced on activation. If true, the initial user passwords will be
set according to the configuration, but existing passwords will not be touched.

I have tested this on a couple of different systems and it seems to work fine
so far. If you think this is a good idea, please test it. This way of adding
local users has been discussed in issue #103 (and this commit solves that
issue).
2014-02-05 15:56:51 +01:00
Rickard Nilsson 48fb891646 mkpasswd: Update to 5.1.1 2014-01-30 12:28:57 +01:00
Rickard Nilsson b5e11465c9 obnam: Update to 1.6.1 2014-01-30 12:28:20 +01:00
Rickard Nilsson e28c0da32e sane-backends: Add extra source url
It seems alioth.debian.org has some problem (login needed for download), so
I've added a pkgs.fedoraproject.org url.
2014-01-30 12:26:11 +01:00
Rickard Nilsson 16ce061e11 tailor: Add extra source URL 2014-01-08 15:29:38 +01:00
Rickard Nilsson bc0c50ced9 New Haskell package: wai-handler-fastcgi 2.0.0 2013-12-31 09:55:04 +01:00
Rickard Nilsson b913699f2a obnam: Update to 1.6 2013-12-18 16:21:47 +01:00
Rickard Nilsson a0ba267115 libvirt: Update to 1.2.0 2013-12-02 21:35:44 +01:00
Rickard Nilsson 8685278f11 Add nix-run and myEnvRun
This adds nix-run, which is a thin wrapper around nix-build.
nix-run calls nix-build, and then executes the resulting build.
If no executable artifact is built, nix-runs outputs an error
message.

myEnvRun calls myEnvFun and builds a script that directly runs
the load-env-* script.

Together, nix-run and myEnvRun allows you to set up an environment
that can be loaded in this way:

  envs.nix:
    {
      gcc = myEnvRun {
        name = "gcc";
        buildInputs = [ gcc ];
      };
    }

  $ nix-run -A gcc envs.nix

You end up directly in your environment without having to do
nix-env -i. You will always have a fresh environment and you
don't have to pollute you profile with a lot of env packages.
2013-12-01 09:36:55 +01:00
Rickard Nilsson e5f631883e keychain: Add missing binaries to PATH 2013-11-28 12:52:32 +01:00
Rickard Nilsson ce2732f2f2 New Haskell package: CodecImageDevIL, bindings to libdevil 2013-11-27 13:46:57 +01:00
Rickard Nilsson 26d7598d46 networkmanager NixOS service: Make it possible to append or insert name servers in /etc/resolv.conf 2013-11-13 01:52:57 +01:00
Rickard Nilsson 2d44f3e8af sbt: Update to 0.13.0
Also remove all old sbt versions, and rename package to
sbt instead of simple-build-tool. sbt seems to be
the correct name for this package.
2013-11-05 14:51:14 +01:00
Rickard Nilsson b5554b3f5c libvirt: Update to 1.1.4
Remove the patch that has been added upstream.
2013-11-05 14:15:42 +01:00
Rickard Nilsson 6d247f81b4 network-manager: Rename dispatcher service
Rename NetworkManager-dispatcher.service to
dbus-org.freedesktop.nm-dispatcher.service so it is found by systemd (NixOS
doesn't handle the Alias directive in the unit file)
2013-10-03 14:46:49 +02:00
Rickard Nilsson 4674d745e0 dovecot-pigeonhole: Update to 0.4.2 2013-10-02 18:51:31 +02:00
Rickard Nilsson 8c01614588 dovecot 2.2.x: Update to 2.2.6 2013-10-02 18:51:31 +02:00
Rickard Nilsson 28c3401684 acid-state: Update to 0.12.1 2013-10-02 18:51:31 +02:00
Rickard Nilsson 70a5abd440 darktable: Add several missing dependencies. This makes the map and tethering modules available 2013-09-25 23:26:07 +02:00
Rickard Nilsson 5b5cdcfbac sane-backends: Need --enable-libusb_1_0 configure flag to find libusb 2013-09-25 20:15:40 +02:00
Rickard Nilsson 78721f57eb nvidia-x11: Put nvidia.icd in /etc/OpenCL/vendors
This makes OpenCL work with Nvidia cards (tested with darktable).
2013-09-24 20:28:52 +02:00
Rickard Nilsson c6b98faa34 darktable: Update to 1.2.3 2013-09-24 01:58:59 +02:00
Rickard Nilsson 3a17c2b30b Add option systemd.automounts, for definining automount units 2013-09-23 23:16:45 +02:00
Rickard Nilsson b5f60dbf6f mopidy: Update to 0.15.0 2013-09-23 17:07:50 +02:00
Rickard Nilsson bfd86d4e74 Fix bug in NetworkManager name server configuration 2013-09-23 16:01:56 +02:00
Rickard Nilsson 45b8a1b1ff avrdude: Update to version 5.11 2013-09-13 00:28:02 +02:00
Rickard Nilsson d1882a1940 trac: Update to 1.0.1. The old version did not work at all with the current genshi package (0.7). 2013-09-10 19:19:27 +02:00
Rickard Nilsson d5881add32 libreoffice: Put .desktop-files in correct place 2013-09-03 08:41:52 +02:00
Rickard Nilsson f90bdd6a09 mupdf: Update to 1.3, and add mupdf.desktop file 2013-08-29 19:29:56 +02:00
Rickard Nilsson 4f6b248e16 smartmontools: Update driverdb to r3849, and fix broken url 2013-08-28 16:58:07 +02:00
Rickard Nilsson c44d8970ea raspberrypi-kernel: Updated to latest version as of 20130826 (rev 7849605f5a) 2013-08-27 12:30:47 +02:00
Rickard Nilsson 38ba397afd raspberrypi-firmware: Update to latest version as of 20130826 (rev 3ab17ac25e) 2013-08-27 12:30:47 +02:00
Rickard Nilsson b0b5e08e86 Add some more missing uids/gids 2013-08-26 15:20:25 +02:00
Rickard Nilsson f420726936 Add several missing uids and gids to modules/misc/ids.nix 2013-08-23 11:37:17 +02:00
Rickard Nilsson 5b9227c5a8 libvirt: Update to 1.1.1 2013-08-23 11:21:08 +02:00
Rickard Nilsson 5303fb0f0f qemu: Update to 1.6.0 2013-08-23 10:26:29 +02:00
Rickard Nilsson 310268f36d diod: New package, a 9P server implementation for Linux 2013-08-20 17:24:30 +02:00
Rickard Nilsson 1ff7584a30 networkmanager: Add option for appending DNS settings
If the option is enabled, the DNS servers from networking.nameservers
will be inserted in /etc/resolv.conf after the DNS servers that
NetworkManager receieves by DHCP, or that is configured manually
in the connection settings.
2013-08-20 13:36:01 +02:00
Rickard Nilsson d1095e1bd4 Add libvirtd gid 2013-08-16 00:47:21 +02:00
Rickard Nilsson e36e979d38 networkmanager: Add option for overriding DNS settings
If the option is enabled, the DNS servers from networking.nameservers
will be inserted in /etc/resolv.con and override any DNS servers that
NetworkManager receieves by DHCP, or that is configured manually
in the connection settings.
2013-08-16 00:35:57 +02:00
Rickard Nilsson 3ca7d7b291 Add OpenSMTPD service option 2013-07-30 10:20:56 +02:00
Rickard Nilsson 1870210926 libvirt: Update to 1.1.0 2013-07-24 14:42:01 +02:00
Rickard Nilsson 462e4255fa x11 session: Don't start pulseaudio if it already is running system-wide 2013-07-23 19:07:12 +02:00
Rickard Nilsson cd0da98b03 pulseaudio service: Use the configured pulseaudio package instead of the default. 2013-07-23 19:07:07 +02:00
Rickard Nilsson 3fa913d5ec libspotify: Fix build for linux.
For Linux, the phases was run in the wrong order. I've
fixed that, but the package is still a complete mess that
needs to be cleaned up. The linux and darwin builds should
probably be separated into two different Nix expressions
to avoid the current conditional mess.
2013-07-22 16:31:38 +02:00
Rickard Nilsson 582e9a94e6 opensmtpd: Update to 201307151923p1 2013-07-19 13:07:42 +02:00
Rickard Nilsson 8a357239ac libevent: Update to 2.0.21 2013-07-19 13:07:12 +02:00
Rickard Nilsson 56c5f33845 New package: dovecot_pigeonhole, a sieve plugin for dovecot 2013-07-15 15:15:35 +02:00
Rickard Nilsson 0dc36983e9 New package: opensmtpd, an SMTP server from the OpenBSD project. 2013-07-15 15:05:03 +02:00
Rickard Nilsson 93ff42ae9c dovecot: Add version 2.2.4 as attribute dovecot22
I also added a patch that makes dovecot search for
plugins in /var/lib/dovecot/modules. This way, you
can add plugins from several packages without running
into circular dependencies. The module dir needs to
be populated before the dovecot service is started,
for example. This is currently not done in NixOS, so
you need to implement your own service in order to
get the plugins working.

The module patch has not been added to the old 2.1.x
package.
2013-07-15 14:55:00 +02:00
Rickard Nilsson eed2a02d86 php 5.4: Add mhash support 2013-07-10 12:27:47 +02:00
Rickard Nilsson 92083803e6 nss-pam-ldapd: Upgrade to 0.8.13 2013-07-10 08:49:54 +02:00
Rickard Nilsson a49aeec10d openldap: Upgrade to 2.4.35 2013-07-10 08:49:54 +02:00
Rickard Nilsson abd423621a php 5.4: Add LDAP support 2013-07-10 08:49:53 +02:00
Rickard Nilsson ac8eb2523b darktable: Update to 1.2.2 2013-07-02 18:38:56 +02:00
Rickard Nilsson 070ddf8367 New package: Twitter Bootstrap 2.3.2, a front-end framework for web development. 2013-07-01 16:14:52 +02:00
Rickard Nilsson 00df29c471 New package: lessc, version 1.4.0
Compiles LESS to CSS
2013-07-01 15:39:39 +02:00
Rickard Nilsson cb534f1baa New package: Google Closure compiler version 20130603.
A JavaScript optimizing compiler.
2013-07-01 14:52:57 +02:00
Rickard Nilsson 279248f6c5 time.timeZone: Set the TZ environment variable, which is used by Java. 2013-06-29 18:43:38 +02:00
Rickard Nilsson 916fc48210 moderntimeline: Add extra source URL 2013-06-27 17:49:19 +02:00
Rickard Nilsson 4800a33b88 Linux 3.4: Doesn't support CONFIG_RC_DEVICES option 2013-06-27 12:13:27 +02:00
Rickard Nilsson 489040bf58 Linux 3.2: Doesn't support CONFIG_RC_DEVICES option 2013-06-25 22:17:13 +02:00
Rickard Nilsson b7ccfc258a Linux 3.2-3.9: Add CONFIG_RC_DEVICES=y, to enable IR devices that can be used by lirc/devinput 2013-06-25 20:13:11 +02:00