Silvan Mosberger
df8a7d956d
ipfs service: dataDir backwards compatibility ( #25782 )
...
Fixes dataDir existance detection. Fixes #25759 , #26069 .
2017-05-24 20:51:02 +02:00
Calum MacRae
abe0da425b
kbfs service: init ( #25610 )
...
* kbfs service: init
2017-05-22 08:14:12 +08:00
Niklas Hambüchen
ff4eb1eaa6
glusterfs service: Copy hooks to /var at startup.
...
This is where glusterfs expects them; see also
https://github.com/gluster/glusterfs/blob/v3.10.1/extras/hook-scripts/Makefile.am#L4
Also see upstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1452761
2017-05-19 16:56:31 +02:00
Silvan Mosberger
91ee3530a7
ipfs service: Fix dataDir being ignored
...
IPFS uses the environment variable IPFS_PATH to determine where to look for it's data, which wasn't set previously therefore ignoring the dataDir attribute
2017-05-05 11:25:36 +02:00
Franz Pletz
3ab45f4b36
treewide: use boolToString function
2017-04-11 18:18:53 +02:00
Edward Tjörnhammar
958668ab80
nixos, openafs-client: correct serviceConfig
2017-03-25 21:19:34 +01:00
Joachim F
6dbe55ca68
Merge pull request #20456 from ericsagnes/feat/loaf-dep-1
...
Use attrsOf in place of loaOf when relevant
2017-02-19 15:49:25 +01:00
Ricardo M. Correia
f78f207f17
nixos.samba: add enableNmbd and enableWinbindd options
...
This allows for disabling these services, in case they are not needed.
2017-02-18 19:29:06 +03:00
Parnell Springmeyer
9e36a58649
Merging against upstream master
2017-02-13 17:16:28 -06:00
Nikolay Amiantov
9a11dda5fd
nfsd service: don't run exportfs
...
It's run by service already.
2017-02-05 03:17:38 +03:00
Nikolay Amiantov
5b043ea361
nfs service: create state directories
2017-02-05 03:17:38 +03:00
Joachim F
17cc22a619
Merge pull request #22225 from bachp/glusterfs-service
...
glusterfs: add service
2017-02-04 15:15:39 +01:00
Nikolay Amiantov
230c97c944
Merge pull request #22303 from abbradar/nfs4
...
NFS improvements
2017-02-03 20:04:25 +03:00
Pascal Bach
19759cfeab
services: add GlusterFS service
...
This service is only limited in configuration options.
But it is sufficient to run glusterd and configure it using the gluster command
2017-02-02 23:16:52 +01:00
Nikolay Amiantov
e0e9fddf56
nfsd service: use upstream systemd units
...
* Use /etc/nfs.conf as the recommended upstream way to configure services.
* Move server options to nfsd module.
2017-02-01 19:47:33 +03:00
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead
2017-01-29 04:11:01 -06:00
Parnell Springmeyer
e92b8402b0
Addressing PR feedback
2017-01-28 20:48:03 -08:00
Maximilian Güntner
123dd9f4e7
services: ipfs: separate system units, add offline mode
...
Offline mode: When adding a lot of data, start this service.
It will will not flood the DHT since it only exposes the API.
When you are done simply reverse the process.
2017-01-27 00:27:50 +01:00
Parnell Springmeyer
a26a796d5c
Merging against master - updating smokingpig, rebase was going to be messy
2017-01-26 02:00:04 -08:00
Parnell Springmeyer
bae00e8aa8
setcap-wrapper: Merging with upstream master and resolving conflicts
2017-01-25 11:08:05 -08:00
Corbin
de4c9e0d15
nixos/services/tahoe: Work around awkward command.
2017-01-23 17:55:41 -08:00
Maximilian Güntner
a541f86f8b
services: ipfs: add emptyRepo option, refactor
2017-01-14 04:01:43 +01:00
Maximilian Güntner
0526a5c90a
services: add gatewayAddress and apiAddress to ipfs
...
Signed-off-by: Maximilian Güntner <code@klandest.in>
2016-11-28 15:33:51 +01:00
Robert Helgesson
8a424e3fbd
tahoe service: use ExecStart instead of script
...
Since only a single command is necessary to start Tahoe it is sufficient
to use ExecStart and thereby skip starting up Bash (and leaving it
running).
2016-11-25 21:49:34 +01:00
Eric Sagnes
2a9de9162f
tahoe module: introducers, nodes option loaOf -> attrsOf
2016-11-16 16:31:05 +09:00
Corbin
2548fd6908
services/tahoe: SFTP support.
2016-11-13 17:13:18 -08:00
Alex Ivanov
ccf8566bdd
yandex-disk service: add exclude-dirs option
2016-11-12 12:36:33 +03:00
Alex Ivanov
5f8aa15e84
yandex-disk service: correct permissions
2016-11-12 12:02:33 +03:00
Maximilian Güntner
7fa157c558
services: Add Interplanetary File System service
...
Signed-off-by: Maximilian Güntner <code@klandest.in>
2016-11-07 22:01:38 +01:00
Emery Hemingway
b675619391
nixos: use types.lines for extraConfig
2016-10-23 19:41:43 +02:00
Nikolay Amiantov
0842bc94e5
cachefilesd service: init
2016-10-16 19:58:33 +03:00
Joachim F
0906a0f197
Merge pull request #18491 from groxxda/network-interfaces
...
Replace Network-interfaces.target
2016-10-02 16:34:37 +02:00
Joachim F
7e80c42b0e
Merge pull request #18511 from ericsagnes/feat/remove-optionSet
...
modules: optionSet -> submodule
2016-10-01 17:57:45 +02:00
Eelco Dolstra
e993506d4c
samba: Use startup notification
...
This ensures synchronous unit start.
2016-09-30 21:22:58 +02:00
Joachim Fasting
22976bc951
openafs-client service: network-interfaces.target -> network.target
2016-09-13 11:19:22 +02:00
Eric Sagnes
1b3c03b49c
tahoe module: optionSet -> submodule
2016-09-13 12:53:10 +09:00
Alexander Ried
27bc34f1e4
treewide: deprecate ip-up.target ( #18319 )
...
Systemd upstream provides targets for networking. This also includes a target network-online.target.
In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
2016-09-10 18:03:59 +02:00
Parnell Springmeyer
98c058a1ee
Adapting everything for the merged permissions wrappers work.
2016-09-01 19:21:06 -05:00
Nikolay Amiantov
ff22705793
treewide: replace several /sbin paths by /bin
2016-08-19 17:56:45 +03:00
Shea Levy
9adad8612b
Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"
...
Was meant to go into staging, sorry
This reverts commit 57b2d1e9b0
, reversing
changes made to 760b2b9048
.
2016-08-15 19:05:52 -04:00
Nikolay Amiantov
1afd250676
treewide: replace several /sbin paths by /bin
2016-08-16 00:19:25 +03:00
Joachim Fasting
a03cbebeb5
diod service: Capabilities -> CapabilityBoundingSet
...
`Capabilities` is obsolete in recent systemd and will be simply
ignored.
Note: this is the only service using `Capabilites`, per `git grep`.
2016-05-27 16:26:55 +02:00
Lluís Batlle i Rossell
9f6afb7d78
Fixing nfsd service, wait on local-fs.
...
Otherwise, mountd was started exporting directories before local-fs was ready,
and it failed to start nfsd on missing fs.
2016-05-06 15:03:30 +02:00
Tuomas Tynkkynen
01854a850a
treewide: Replace module_init_tools -> kmod
...
The former is deprecated and doesn't handle compressed kernel modules,
so all current usages of it are broken.
2016-04-22 10:40:57 +03:00
Corbin
d5c9a80ccd
services/tahoe: Add tub.location for specifying external IPs.
...
Invaluable for wiring up clouds.
2016-04-12 18:44:25 -07:00
Emery Hemingway
c7379b30dc
u9fs service: switch user with systemd
...
Drop the broken fsRoot option.
2016-04-08 16:32:30 +02:00
Corbin
e3e5633307
services: Add Tahoe-LAFS service.
...
Including systemd configuration and much of the standard storage node and
introducer configuration.
2016-03-31 14:01:09 -07:00
zimbatm
76f5cf3f31
Merge pull request #13324 from zimbatm/doc-from-wiki
...
Converting the wiki to documentation
2016-02-25 19:37:43 +00:00
zimbatm
dc314aad12
samba module: add more description
...
Fixes #13281
2016-02-25 19:36:55 +00:00
Jordan Mulcahey
a2b8cc0aaf
netatalk: 3.1.0 -> 3.1.7, new service module
2016-02-24 19:32:54 +01:00
Thomas Strobel
a04a7272aa
Add missing 'type', 'defaultText' and 'literalExample' in module definitions
...
- add missing types in module definitions
- add missing 'defaultText' in module definitions
- wrap example with 'literalExample' where necessary in module definitions
2016-01-17 19:41:23 +01:00
Robin Gloster
88292fdf09
jobs -> systemd.services
2016-01-07 06:39:06 +00:00
Matej Cotman
c666955b75
xtreemfs: set mrc and osd as dir dependencies
2015-09-22 21:46:52 +02:00
Matej Cotman
a35cebb3b1
xtreemfs: use mkEnableOption instead of mkOption
2015-09-22 21:46:52 +02:00
Matej Cotman
d31cc0d19a
xtreemfs: add nixos module
2015-09-22 21:46:52 +02:00
Tobias Geerinckx-Rice
b6c24c12b4
nixos: samba module: fix typo & clarify
2015-09-14 02:51:39 +02:00
Eelco Dolstra
ea7b5bb8b0
Fix NFSv4 test
...
http://hydra.nixos.org/build/25349071
2015-09-01 12:00:04 +02:00
Eelco Dolstra
c738b309ee
types.uniq types.bool -> types.bool
2015-06-15 18:10:26 +02:00
Nikolay Amiantov
405e4bd099
nixos.samba: update required mounts
2015-04-16 20:18:03 +03:00
Nikolay Amiantov
0d38958b61
nixos.samba: fix booleans in smb.conf
2015-04-16 20:17:59 +03:00
William A. Kennington III
ff21171921
Fix references to current-system/sw/sbin
2015-04-01 13:57:36 -07:00
Jesse Haber-Kucharsky
5a1950d985
Samba: Fixed "syncPasswordsByPam".
2015-03-07 17:56:46 +00:00
Emery Hemingway
446580f3cd
nixos: u9fs service module
2015-02-22 12:16:58 -05:00
Nikolay Amiantov
b903bf0a57
nixos/samba: cleanup and update defaults
2015-02-04 22:31:50 +03:00
William A. Kennington III
8ec82fcb18
nixos/samba: Allow package version setting
2015-01-03 21:45:16 -08:00
Tobias Geerinckx-Rice
c64257b8e5
Fix user-facing typos (mainly in descriptions)
2014-12-30 03:31:03 +01:00
wmertens
0d5bd2a0f3
Merge pull request #5254 from ehmry/network-filesystems
...
nixos: configure samba and rsync shares with sets
2014-12-17 07:07:28 +01:00
Emery Hemingway
f30748a7cd
nixos: configure samba and rsync shares with sets
2014-12-07 15:42:22 -05:00
Bjørn Forsman
f85ad2d378
nfs-utils: align attrname with pkgname
...
nfsUtils => nfs-utils. Keep copy of old attribute for backward
compatibility.
2014-12-06 17:01:05 +01:00
Domen Kožar
bc015be0f3
fix eval
2014-10-15 12:00:20 +02:00
Lluís Batlle i Rossell
f594033822
nixos nfs: allow setting the lockd ports.
...
This helps in setting a fixed firewall open port for NFS lockd.
Based on:
http://rlworkman.net/howtos/NFS_Firewall_HOWTO
(cherry picked from commit b32ca0616ff70795f71995fa79ea508b82f30b3a)
Conflicts:
nixos/modules/services/network-filesystems/nfsd.nix
2014-10-15 10:59:33 +02:00
Shea Levy
f5aaefbb6c
More pkgs.lib -> lib fixes
2014-09-29 09:45:59 -04:00
Bjørn Forsman
3ebe3df4d0
nixos/samba: add services.samba.configText option
...
The .configText option is for providing verbatim content of smb.conf.
I'm adding this because I cannot seem to find any other way to override
(with mkForce) the generated smb.conf with the current samba module. All
attempts ends with errors ("duplicate entry samba/smb.conf").
2014-09-24 18:31:20 +02:00
Bjørn Forsman
753d9d4e4f
nixos/samba: remove services.samba.defaultShare option
...
It's not that difficult to define shares using standard samba config
file syntax, so why do we need the semi-configurable .defaultShare
option?
Also:
* It uses /home/smbd and I think /home should be reserved
for real human users.
* If enabled, it breaks the assumption that .extraConfig continues in
the [global] section.
Without .defaultShare there is no need for the "smbguest" user and group
either, mark them as unused.
2014-09-24 18:31:20 +02:00
Aristid Breitkreuz
958c1c68c2
Merge pull request #3977 from manveru/diod
...
diod: fix service
2014-09-06 12:31:00 +02:00
Michael Fellinger
00887dc3f8
diod: fix service
2014-09-05 14:39:55 +02:00
Sergey Mironov
2b72edad9b
yandex-disk: fix the url; introduce systemd.service #2228
2014-09-03 12:36:29 +04:00
Michael Fellinger
e805c78ed3
diod: remove redundant default doc
2014-09-03 02:55:00 +02:00
Michael Fellinger
0bf05a02f4
diod: add systemd service and config
2014-09-03 02:30:04 +02:00
Vladimir Still
a735c308b6
nfsd: Make it possible to fix rpc.{mountd,statd,lockd} ports.
2014-08-31 22:00:16 +02:00
Eelco Dolstra
95b828de42
Merge remote-tracking branch 'origin/master' into staging
2014-07-07 13:16:26 +02:00
Shea Levy
b3cfb9084b
Get all lib functions from lib, not pkgs.lib, in modules
2014-07-02 12:28:18 -04:00
Eelco Dolstra
40f7b0f9df
Another attempt to eradicate ensureDir
...
See c556a6ea46
.
2014-06-30 14:56:10 +02:00
Mathijs Kwik
464739c391
samba really requires its daemons
2014-06-16 22:44:27 +02:00
Michael Raskin
7231b6b94e
Merge pull request #2248 from ehmry/rsync
...
rsync updated 3.0.9 to 3.1.0, rsyncd service module
2014-04-18 10:17:08 -07:00
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.
2014-04-14 16:26:48 +02:00
Emery Hemingway
93e9154805
rsync updated 3.0.9 to 3.1.0, rsyncd service module
2014-04-13 23:25:28 -04:00
Gergely Risko
2be35c3e99
OpenAFS client fixes
...
Make it stoppable. Add support for crypt and dynroot-sparse.
2014-03-14 14:40:17 +01:00
Bjørn Forsman
dc352536a8
nixos: capitalize a bunch of service descriptions
...
(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"
2013-11-09 20:45:50 +01:00
Eelco Dolstra
a2c820c678
Turn security.pam.services into an attribute set
...
That is, you can say
security.pam.services.sshd = { options... };
instead of
security.pam.services = [ { name = "sshd"; options... } ];
making it easier to override PAM settings from other modules.
2013-10-15 14:47:51 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00