summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* cups: Allow users in the wheel group to do admin actionsEelco Dolstra2013-12-01
|
* systemd: add services.journald.extraConfig optionSong Wenwu2013-11-30
|
* Merge pull request #1292 from jozko/openldap-fixesDomen Kožar2013-11-28
|\ | | | | Added openldap user, group and configure service so its not running as root
| * Added openldap user, group and configure service so its not running as root.Jozko Skrablin2013-11-28
| |
* | nixos/libvirtd-service: fix for garbage collected emulator pathsBjørn Forsman2013-11-27
| | | | | | | | | | | | | | | | | | | | | | libvirtd puts the full path of the emulator binary in the machine config file. But this path can unfortunately be garbage collected while still being used by the virtual machine. Then this happens: Error starting domain: Cannot check QEMU binary /nix/store/z5c2xzk9x0pj6x511w0w4gy9xl5wljxy-qemu-1.5.2-x86-only/bin/qemu-kvm: No such file or directory Fix by updating the emulator path on each service startup to something valid (re-scan $PATH).
* | Add support for lightweight NixOS containersEelco Dolstra2013-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now say: systemd.containers.foo.config = { services.openssh.enable = true; services.openssh.ports = [ 2022 ]; users.extraUsers.root.openssh.authorizedKeys.keys = [ "ssh-dss ..." ]; }; which defines a NixOS instance with the given configuration running inside a lightweight container. You can also manage the configuration of the container independently from the host: systemd.containers.foo.path = "/nix/var/nix/profiles/containers/foo"; where "path" is a NixOS system profile. It can be created/updated by doing: $ nix-env --set -p /nix/var/nix/profiles/containers/foo \ -f '<nixos>' -A system -I nixos-config=foo.nix The container configuration (foo.nix) should define boot.isContainer = true; to optimise away the building of a kernel and initrd. This is done automatically when using the "config" route. On the host, a lightweight container appears as the service "container-<name>.service". The container is like a regular NixOS (virtual) machine, except that it doesn't have its own kernel. It has its own root file system (by default /var/lib/containers/<name>), but shares the Nix store of the host (as a read-only bind mount). It also has access to the network devices of the host. Currently, if the configuration of the container changes, running "nixos-rebuild switch" on the host will cause the container to be rebooted. In the future we may want to send some message to the container so that it can activate the new container configuration without rebooting. Containers are not perfectly isolated yet. In particular, the host's /sys/fs/cgroup is mounted (writable!) in the guest.
* | When setting $NIX_REMOTE, check whether /nix/var/nix/db is writableEelco Dolstra2013-11-27
| | | | | | | | | | In NixOS containers, root doesn't have write permission to /nix/var/nix/db, so it has to use the daemon.
* | postgresql: Fix the port optionEelco Dolstra2013-11-27
|/ | | | Also clarify the description of the enableTCPIP option.
* Add a regression test for hostname / nss_myhostnameEelco Dolstra2013-11-26
| | | | Issue #1248.
* nscd: Fix LD_LIBRARY_PATHEelco Dolstra2013-11-26
| | | | | | This ensures that nscd can find the NSS modules. Fixes #1248.
* Allow services to specify a pre-stop scriptEelco Dolstra2013-11-26
|
* Disable various services when running inside a containerEelco Dolstra2013-11-26
|
* Make dd-agent services restart when killed.Rob Vermaas2013-11-22
|
* Add a nix module for AMD Hybrid GraphicsWilliam A. Kennington III2013-11-20
|
* Don't include the code name in the EBS AMI nameEelco Dolstra2013-11-19
|
* polkit: Add some examplesEelco Dolstra2013-11-18
|
* polkit: Fix authenticating as a wheel userEelco Dolstra2013-11-18
| | | | | In Javascript-based PolKit, "unix-user:0;unix-group:wheel" is not valid; it should be a list "unix-user:0", "unix-group:wheel".
* polkit: The rule file needs to end in .rulesEelco Dolstra2013-11-18
| | | | Otherwise it's ignored.
* httpd.nix: Support non-root operationEelco Dolstra2013-11-18
|
* Allow running NixOS services outside of systemdEelco Dolstra2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | The attribute ‘config.systemd.services.<service-name>.runner’ generates a script that runs the service outside of systemd. This is useful for testing, and also allows NixOS services to be used outside of NixOS. For instance, given a configuration file foo.nix: { config, pkgs, ... }: { services.postgresql.enable = true; services.postgresql.package = pkgs.postgresql92; services.postgresql.dataDir = "/tmp/postgres"; } you can build and run PostgreSQL as follows: $ nix-build -A config.systemd.services.postgresql.runner -I nixos-config=./foo.nix $ ./result This will run the service's ExecStartPre, ExecStart, ExecStartPost and ExecStopPost commands in an appropriate environment. It doesn't work well yet for "forking" services, since it can't track the main process. It also doesn't work for services that assume they're always executed by root.
* Check whether fileSystems defines the root FSEelco Dolstra2013-11-18
|
* Allow overrides to work for unit optionsEelco Dolstra2013-11-18
|
* Use types.lines for script/preStart/postStart/postStopEelco Dolstra2013-11-18
|
* Apply better type checking to unitConfig/serviceConfig/...Eelco Dolstra2013-11-18
| | | | In particular, complain if two modules define the same systemd option.
* Fix broken Conflicts optionsEelco Dolstra2013-11-18
|
* Allow building/testing individual systemd unitsEelco Dolstra2013-11-18
|
* xfce: enable tumbler the thumbnail manager (close #1206)Sergey Mironov2013-11-16
|
* systemd: Add systemd.extraConfig option for /etc/systemd/system.confRicardo M. Correia2013-11-16
|
* systemd: Change services.logind.extraConfig type to types.linesRicardo M. Correia2013-11-16
|
* Put /efi and /loader on the main livecd partition for efi booting with ↵Shea Levy2013-11-14
| | | | | | | | unetbootin Fixes #248, mostly Signed-off-by: Shea Levy <shea@shealevy.com>
* mediawiki: Update to 1.20.7Eelco Dolstra2013-11-13
|
* networkmanager NixOS service: Make it possible to append or insert name ↵Rickard Nilsson2013-11-13
| | | | servers in /etc/resolv.conf
* Properly handle unit names with dashes in themEelco Dolstra2013-11-12
| | | | | We ended up with files in /etc/systemd/system called "bigx2ddata.mount.wants" rather than "big\x2ddata.mount.wants".
* Add some primops to libEelco Dolstra2013-11-12
|
* Merge pull request #1196 from bjornfor/capitalize-service-descriptionsDomen Kožar2013-11-12
|\ | | | | nixos: capitalize a bunch of service descriptions
| * nixos: capitalize a bunch of service descriptionsBjørn Forsman2013-11-09
| | | | | | | | | | | | | | | | | | | | | | | | (systemd service descriptions that is, not service descriptions in "man configuration.nix".) Capitalizing each word in the description seems to be the accepted standard. Also shorten these descriptions: * "Munin node, the agent process" => "Munin Node" * "Planet Venus, an awesome ‘river of news’ feed reader" => "Planet Venus Feed Reader"
* | Don't set the default channel to 13.10 when installing from masterEelco Dolstra2013-11-11
| | | | | | | | Partial revert of 619a1f561480a300ce28f0f471e73fecda85fd60.
* | nixos/libvirtd-service: fix for dnsmasq (dir perms 700 -> 755)Bjørn Forsman2013-11-10
|/ | | | | | | | | | | | | | | | Fixes this: Nov 09 16:18:54 nixos-laptop systemd[1]: Starting Libvirt Virtual Machine Management Daemon... Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: read /etc/hosts - 2 addresses Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: failed to load names from /var/lib/libvirt/dnsmasq/default.addnhosts: Permission denied Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: cannot read /var/lib/libvirt/dnsmasq/default.hostsfile: Permission denied Nov 09 16:18:55 nixos-laptop systemd[1]: Started Libvirt Virtual Machine Management Daemon. I don't understand the reason for the original 700 permission bits. Apparently read-access is needed and Ubuntu also use 755 perms. Use "chmod" instead of "mkdir -m" to set permissions because mkdir doesn't modify permissions on existing directories.
* changes proposed for 13-10 updateVladimír Čunát2013-11-09
|\ | | | | | | One feature change: polkit update 8d14c7ba
| * polkit: major update 0.105 -> 0.112Vladimír Čunát2013-11-09
| | | | | | | | | | | | | | - It now uses JavaScript for configuration (only), so I had to "convert" config for NetworkManager. - I tested suspend/restart/(un)mount on KDE/Xfce, Phreedom tested NetworkManager config conversion.
| * Set the channel for this releaseEelco Dolstra2013-10-31
| |
* | nixos/graphite: fix storage dir for carbonJaka Hudoklin2013-11-09
| |
* | Merge pull request #1182 from offlinehacker/nixos/mongodb/userfixDomen Kožar2013-11-08
|\ \ | | | | | | nixos/mongodb: set static uid to work with #1076
| * | nixos/mongodb: set static uid to work with #1076Jaka Hudoklin2013-11-07
| | |
* | | Merge pull request #1066 from offlinehacker/nixos/logstash/updateDomen Kožar2013-11-08
|\ \ \ | | | | | | | | nixos/logstash: update and simplify to be fully compatible with new version
| * | | nixos/logstash: add testJaka Hudoklin2013-11-01
| | | |
| * | | nixos/logstash: add option examplesJaka Hudoklin2013-11-01
| | | |
| * | | nixos/logstash: update and simplify to be fully compatible with new versionJaka Hudoklin2013-11-01
| | | |
* | | | Update the X11 terminal server module for systemdEelco Dolstra2013-11-08
| | | | | | | | | | | | | | | | Yay, we no longer need inetd!
* | | | Only run systemd-inhibit for local X11 sessionsEelco Dolstra2013-11-08
| | | |