Johannes Frankenau
51169880bd
nixos/samba: allow dummy conf file to be overridden
...
This allows configuring samba clients on systems without a samba server.
2018-08-16 10:24:09 +02:00
markuskowa
b59a13e9b4
beegfs: 6.18 -> 7.0 ( #44210 )
2018-07-30 12:42:59 +02:00
Tuomas Tynkkynen
96190535e5
Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"
...
This reverts commit 095fe5b43d
.
Pointless renames considered harmful. All they do is force people to
spend extra work updating their configs for no benefit, and hindering
the ability to switch between unstable and stable versions of NixOS.
Like, what was the value of having the "nixos." there? I mean, by
definition anything in a NixOS module has something to do with NixOS...
2018-07-28 00:12:55 +03:00
Jörg Thalheim
e9ff0f9448
Merge pull request #43863 from volth/unused4
...
[bot] nixos/*: remove unused arguments in lambdas
2018-07-21 16:39:08 +01:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
volth
6d2857a311
[bot] treewide: remove unused 'inherit' in let blocks
2018-07-20 19:38:19 +00:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
spacefrogg
37c999228b
openafs_1_8: init at 1.8.0 ( #41889 )
...
- Introduce new "server" output holding the server binaries
- Adapt tsmbac.patch to new build environment
- Adapt openafs nixos server module accordingly
- Update upstream CellServDB: 2017-03-14 -> 2018-05-14
- Introduce package attributes to refer to the openafs packages to use for
server, programs and kernel module
2018-06-30 00:34:35 +02:00
Izorkin
679d5e8bd5
samba: fix autostart service
2018-06-11 16:44:54 +03:00
Sarah Brofeldt
e27a4502cb
Merge pull request #40879 from seppeljordan/pr-ipfs-port-scanning
...
nixos/ipfs: Add option to disable local port scanning for ipfs daemon
2018-05-24 10:53:49 +02:00
markuskowa
96c81d2fdd
beegfs/module: Fix a typo in meta.conf generation ( #40979 )
...
This typo places mgtmd.extraConf in meta.conf
leading to meta.extraConf being ignored.
2018-05-23 17:23:58 +02:00
Sebastian Jordan
2009c76a66
nixos/ipfs: Improve behavior of localDiscovery option
...
It is no longer required to change the config your ipfs repo manually if you change
localDiscovery option in nixos configuration after ipfs repository initialization.
2018-05-23 16:44:31 +02:00
Sebastian Jordan
1bf798b8cb
nixos/ipfs: Add option to disable local port scanning for ipfs daemon
2018-05-21 14:16:47 +02:00
Jan Malakhovski
095fe5b43d
nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1
2018-05-12 19:27:09 +00:00
Shea Levy
95579af5ec
Merge remote-tracking branch 'origin/staging' into cross-nixos
2018-03-01 14:56:58 -05:00
Shea Levy
fec543436d
nixos: Move uses of stdenv.shell to runtimeShell.
2018-03-01 14:38:53 -05:00
lejonet
565f22d27a
nixos/ceph: init module ( #35299 )
...
All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
2018-03-01 11:47:13 +00:00
Joachim F
97ab8d8981
Merge pull request #17106 from spacefrogg/openafs
...
openafs: Refactor and introduce server module
2018-02-06 14:43:55 +00:00
Michael Raitza
d0ebdbd308
nixos/openafsServer: OpenAFS server nixos module
2018-02-02 16:43:44 +01:00
Michael Raitza
ce74e1cc36
nixos/openafsClient: Extend client service functionality
...
Add a lot of options to the client to make it more usable and compatible
with the OpenAFS server module.
2018-02-01 16:35:24 +01:00
Michael Raitza
c389d705f3
nixos/openafsClient: relocate nixos module
2018-02-01 16:35:18 +01:00
Luke Adams
1537ce9dc7
samba4/sambaMaster: Modify services to align with Samba project usage
2018-01-26 22:37:17 +01:00
Michael Raitza
8a77ae81ad
openafsClient: rename to openafs
2018-01-24 13:20:47 +01:00
Orivej Desh
dac8f27f96
nixos/beegfs: fix the build of the NixOS manual
2017-12-31 07:52:32 +00:00
Markus Kowalewski
b7fdefc8a4
beegfs: init at 6.17
...
package, kernel module, nixos module, and nixos test
2017-12-31 07:07:02 +00:00
Peter Simons
0fe9785305
Merge pull request #32584 from manoj23/davfs2-v3
...
davfs2: create user/group davfs2 if not specified in the configuration
2017-12-17 08:53:18 +01:00
David Kleuker
ffc0bfa5b7
nixos/samba: increase LimitNOFILE to recommended value ( #32085 )
...
fixes warning:
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
https://serverfault.com/a/641411
2017-12-14 17:12:44 +00:00
Georges Savoundararadj
9724654c74
davfs2: create user/group davfs2 if not specified in the configuration
...
* Add options:
- enable
- davUser (default: "davfs2")
- davGroup (default: "davfs2)
* Add davfs2 user or group if they are not specified in the
configuration
2017-12-11 19:30:25 -08:00
Eric Litak
d0b9d13618
ipfs: add swarmAddress option
2017-11-25 22:56:07 -08:00
Peter Hoeg
feed9154c0
kbfs: normal users only
2017-10-24 16:30:07 +08:00
Tim Steinbach
c643759d41
kbfs: Add package in module
2017-10-08 12:49:58 -04:00
Jörg Thalheim
eefae49f6d
Merge pull request #30183 from Mic92/openafs
...
openafs-client: don't remove kernel module on stop
2017-10-08 12:13:29 +01:00
Joerg Thalheim
912ec467db
openafs-client: don't remove kernel module on stop
...
Otherwise it cannot re-insert the kernel module after a kernel upgrade
when boot kernel != running kernel.
2017-10-07 10:11:30 +01:00
Tim Steinbach
8840eaf223
keybase: Fix modules
2017-10-06 18:49:58 -04:00
Franz Pletz
d6f7e2f6f6
Merge pull request #29942 from elitak/ipfs
...
Ipfs: prepare for autoMigrate fix
2017-10-04 03:07:25 +02:00
Pascal Bach
2239dc6234
glusterfs service: fix issues with useRpcbind
2017-10-01 19:39:22 +02:00
Eric Litak
f46616db5a
ipfs: disable autoMigrate option for now
2017-09-29 18:07:55 -07:00
Niklas Hambüchen
18eecae4b6
glusterfs service: Change default killMode to "control-group".
...
This is a better default for NixOS because it ensures that config
changes happen fully when NixOS users expect it.
2017-09-27 20:54:13 +02:00
Niklas Hambüchen
08f7e4516c
glusterfs service: Ensure log directory exists for glustereventsd.
...
Prevents glustereventsd failing at startup in case it starts
before glusterd has started (whose `preStart` would also
create the needed directory).
2017-09-27 20:53:42 +02:00
Niklas Hambüchen
e233a518bd
glusterfs service: Add killMode and stopKillTimeout options
2017-09-27 20:53:39 +02:00
Niklas Hambüchen
bd54b72676
glusterfs service: Add settings to disable rpcbind and the events daemon.
...
See also https://github.com/NixOS/nixpkgs/pull/22225#pullrequestreview-26459886
2017-09-27 19:51:42 +02:00
Niklas Hambüchen
5e2815dfb7
glusterfs service: Don't make it a prerequisite of network-online.target.
...
This introduces dependency cycles.
A network file system to be running is not required for a network
connection to be available.
19759cfeab (commitcomment-22044519)
2017-09-27 19:17:23 +02:00
Jörg Thalheim
d20bd77c93
Merge pull request #29717 from fare-patches/nfsd
...
nfsd: add extraNfsdConfig
2017-09-24 15:13:42 +01:00
Francois-Rene Rideau
62983f5cae
nfsd: add extraNfsdConfig
2017-09-23 16:22:27 -04:00
Joachim F
c913f7155f
Merge pull request #27340 from bachp/glusterfs-tls
...
glusterfs service: add support for TLS communication
2017-09-21 20:27:25 +00:00
Pascal Bach
8ed758696c
gluster service: use str instead of path for private key
...
This pervents the user from accidently commiting the key to the nix store.
If providing a path instead of a string.
2017-09-21 20:35:35 +02:00
Eric Litak
1a15c5d8c6
ipfs: autoMount working without root
2017-09-17 23:57:25 -07:00
Eric Litak
6324317c76
ipfs: workaround for upstream bug; doc fixes
2017-09-17 23:57:25 -07:00
Pascal Bach
c68118ce65
glusterfs service: add support for TLS communication
...
TLS settings are implemented as submodule.
2017-09-17 18:53:14 +02:00
Jörg Thalheim
39e327eeb5
nixos/openafs-client: update cellServDB 2009-06-29 -> 2017-03-14
2017-09-12 13:12:41 +01:00
Bjørn Forsman
fc02a0265a
nixos/samba: remove space in "[ global ]" heading
...
Use consistent no-space style. (All documentation I've seen use no
space, and the generated section headings from the NixOS module also use
no space.)
2017-09-12 08:03:14 +02:00
Niklas Hambüchen
5bc38fc089
glusterfs service: Ensure dirs needed by glusterfind
exist
2017-09-07 10:38:52 +02:00
Eric Litak
5050c56382
ipfs: adding mountDir options but disabling broken autoMount
2017-08-30 08:24:38 -07:00
Eric Litak
5554ea5583
ipfs: preStart configuration moved into daemon services
2017-08-30 08:17:34 -07:00
Eric Litak
ba976021af
ipfs: refactor; wrapper adjustment
2017-08-30 08:17:34 -07:00
Eric Litak
952424217b
ipfs: optionally manage ulimit -n in serviceConfig
2017-08-30 08:17:34 -07:00
Eric Litak
5f9bad6ceb
ipfs: add extraConfig option
2017-08-30 08:17:34 -07:00
Eric Litak
a48a2c4f78
ipfs: add autoMount option
2017-08-30 08:17:34 -07:00
Maximilian Güntner
0f02879e01
ipfs: added defaultMode, added norouting service
2017-08-17 03:30:57 +02:00
Keith Amidon
f9204b9762
nixos/samba: fix pam service name typo ( #28049 )
...
The PAM service name used before this commit was "sambda", with an
extra 'd'. For some reason I don't quite fully understand this typo
prevents GDM from starting. This change fixes that as tested in VMs
built using "nixos-rebuild -I nixpkgs=<mypkgs> build-vm".
2017-08-11 20:13:33 +00:00
Nadrieril
a4d07290cb
rsync service: allow running as not root
2017-08-06 22:57:53 +01:00
Nadrieril
94fc613cc7
rsync service: restart service on configuration change
2017-08-06 22:57:53 +01:00
Nadrieril
541377e5f0
rsync service: modernize config file generation
2017-08-06 22:57:53 +01:00
Graham Christensen
d4ef5ac0e9
nixos/tahoe: fixup create-introducer, syntax regression from 90acbe5
, improperly patched in 72f85b9e07
2017-07-26 19:13:21 -04:00
Graham Christensen
72f85b9e07
nixos/tahoe: fixup create-introducer, syntax regression from 90acbe5
2017-07-26 19:05:26 -04:00
0xABAB
90acbe5449
Cleanup tahoe module
...
- Remove useless escape of question mark
- Fix and quoting
- Add some '&&s' for correctness
- Add escapeShellArg
- Remove &&s in preStart
Edited by grahamc: fixed the ${} typo on line 246
2017-07-25 22:09:43 -04:00
Frederik Rietdijk
87ee5896fb
Merge pull request #25709 from nh2/25620-glusterfs-fix-python-import-errors
...
Fix: GlusterFS python tools all have import errors
2017-06-01 22:06:21 +02:00
Emery Hemingway
12b6c4d4de
u9fs service: grant capabilities for running as nobody
2017-05-26 11:41:10 -05:00
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