Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples
3 years ago
Sander van der Burg
77295e7e6b
nixos/disnix: configure the remote client by default, if multi-user mode has been enabled
3 years ago
Silvan Mosberger
0a377f11a5
nixos/treewide: Remove usages of deprecated types.string
3 years ago
Sander van der Burg
4ae1fa61ad
Revert "nixos/dysnomia nixos/disnix: Drop modules"
...
This reverts commit a3f4db8679
.
3 years ago
Scriptkiddi
a3f4db8679
nixos/dysnomia nixos/disnix: Drop modules
3 years ago
Sander van der Burg
336628268f
nixos/disnix: reorder startup to take MongoDB and InfluxDB into account, add option to add Disnix profile to the system PATH
4 years ago
Dominik Xaver Hörl
c10d82358f
treewide: add types to boolean / enable options or make use of mkEnableOption
4 years ago
Dominik Xaver Hörl
0412bde942
treewide: add bool type to enable options, or make use of mkEnableOption
...
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
4 years ago
David Guibert
bbc2cd89ef
users.groups.disnix instead of a list
...
related to #63103 .
4 years ago
Sander van der Burg
9748d7c60b
nixos/disnix: undo dysnomia rename to fix disnix and retain compatibility with previous release
6 years ago
Daiderd Jordan
e2a32b747f
Revert "nixos/disnix: fix broken service because of rename"
...
Broke evaluation of the nixos options.
The option `services.dysnomia' defined in `.../nixos/modules/rename.nix' does not exist.
This reverts commit 5c897b4eff
.
6 years ago
Sander van der Burg
5c897b4eff
nixos/disnix: fix broken service because of rename
6 years ago
volth
87f5930c3f
[bot]: remove unreferenced code
6 years ago
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
6 years ago
Jan Malakhovski
02da27de52
nixos: dysnomia: move into `services` subtree
6 years ago
Sander van der Burg
8fbfd67f1f
disnix module: make dbus service configurable
6 years ago
Joachim Fasting
f9f354faad
nixos/modules: use defaultText where applicable
...
Primarily to fix rendering of these default values in the manual but
it's also nice to avoid having to eval these things just to build the
manual.
8 years ago
Sander van der Burg
8fccaa9011
disnix-module: split dysnomia's functionality into a separate module so that it can be used without Disnix and remove the hacky/obsolete avahi publisher
8 years ago
Sander van der Burg
4fafd77f7e
disnix: propagate ejabberd username to the activation module
9 years ago
Robin Gloster
88292fdf09
jobs -> systemd.services
9 years ago
Sander van der Burg
a744aa74aa
disnix: add a target for services activated and deactivated by dysnomia
9 years ago
Sander van der Burg
fd187980c7
Put dysnomia in system environment if Disnix is enabled
9 years ago
Sander van der Burg
7b27af61fb
Add NixOS global binaries to the PATH
9 years ago
Sander van der Burg
6b6f098fd1
disnix: bump versions and update module to use its latest features
10 years ago
Eelco Dolstra
29027fd1e1
Rewrite ‘with pkgs.lib’ -> ‘with lib’
...
Using pkgs.lib on the spine of module evaluation is problematic
because the pkgs argument depends on the result of module
evaluation. To prevent an infinite recursion, pkgs and some of the
modules are evaluated twice, which is inefficient. Using ‘with lib’
prevents this problem.
10 years ago
Eelco Dolstra
785eaf2cea
Add some primops to lib
11 years ago
Sander van der Burg
d31b328d0a
Updated Disnix service definition to support new development version and mongo databases
11 years ago
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
11 years ago
Sander van der Burg
5dd0ce8c15
Updated disnix to latest 0.3 release
11 years ago
Sander van der Burg
e776c0623d
Fixed disnix service to use systemd's dependency facilities
11 years ago
Eelco Dolstra
73532c3855
Global replace /var/run/current-system -> /run/current-system
12 years ago
Sander van der Burg
a34e20e292
deployment attribute does not exists anymore, will fix this later
...
svn path=/nixos/trunk/; revision=33747
12 years ago
Eelco Dolstra
86d8d62d16
* Allow Upstart jobs to declare that they shouldn't be restarted by
...
switch-to-configuration. E.g. the X server shouldn't be restarted
because that kills all the X clients.
svn path=/nixos/trunk/; revision=33223
12 years ago
Sander van der Burg
3a9dfceb07
Implemented a very very dirty hack, which makes it possible to statically determine which activation types are supported, instead of determining this by the avahi service
...
svn path=/nixos/trunk/; revision=32089
13 years ago
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
13 years ago
Sander van der Burg
66ead80026
Disnix now also waits for the services it supports before it starts the Disnix daemon itself
...
svn path=/nixos/trunk/; revision=25626
14 years ago
Sander van der Burg
6ba45109a1
Integers must be converted to strings, of course
...
svn path=/nixos/trunk/; revision=25274
14 years ago
Sander van der Burg
70402c9397
Adapted Disnix module to publish the svnBaseDir and to support the postgresql and subversion types
...
svn path=/nixos/trunk/; revision=25236
14 years ago
Sander van der Burg
281f3b0776
Fixed the avahi service and do some better formatting of the key=value pairs
...
svn path=/nixos/trunk/; revision=25060
14 years ago
Sander van der Burg
e51fcac73c
- deployment.targetHost is now defined as an option
...
- developed services.disnix.infrastructure option, which contains properties for the Disnix infrastructure model (these properties can be either used by Disnix itself or the Avahi publisher)
svn path=/nixos/trunk/; revision=25052
14 years ago
Sander van der Burg
b064f5c80e
The Disnix avahi server now also publishes the 'system' attribute and the properties defined in config.deployment
...
svn path=/nixos/trunk/; revision=24849
14 years ago
Sander van der Burg
fcf53be5bd
The DisnixWebService is also published through Avahi
...
svn path=/nixos/trunk/; revision=24792
14 years ago
Sander van der Burg
ad48c7c534
Initial implementation for the Disnix avahi publisher
...
svn path=/nixos/trunk/; revision=24789
14 years ago
Sander van der Burg
4858ab9da8
The DisnixWebService is now also part of the systemPackages so that a user can invoke the client tool from the command-line
...
svn path=/nixos/trunk/; revision=24564
14 years ago
Sander van der Burg
e39b10a4d9
- The Disnix service needs Nix in its PATH for now
...
- Implemented an extraGroups property for tomcat to grant a tomcat application access to the Disnix service
svn path=/nixos/trunk/; revision=24561
14 years ago
Sander van der Burg
9359ebf975
Implemented an option to enable to DisnixWebService on Apache Tomcat
...
svn path=/nixos/trunk/; revision=24560
14 years ago
Sander van der Burg
2936d7062d
Added creation of the disnix group on first startup, if the disnix service is enabled
...
svn path=/nixos/trunk/; revision=21164
14 years ago
Sander van der Burg
b904954793
Updated disnix service for the 0.1 release
...
svn path=/nixos/trunk/; revision=20917
14 years ago
Eelco Dolstra
83a9bf9a6a
* Change all the startOn / stopOn attributes to the Upstart 0.6 syntax
...
(e.g., startOn = "started foo" instead of startOn = "foo").
svn path=/nixos/branches/upstart-0.6/; revision=18230
15 years ago
Eelco Dolstra
eba8f94069
* jobAttrs -> jobs.
...
svn path=/nixos/trunk/; revision=17769
15 years ago