Commit Graph

418 Commits

Author SHA1 Message Date
Felix Buehler
e14a371aac nixos/services.nfs.server: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
808c6a991b nixos/services.netatalk: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
fb9b81cec5 nixos/services.moosefs: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
6bf4d51606 nixos/services.litestream: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
8f72002794 nixos/services.kubo: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
c51036c276 nixos/services.kbfs: remove with lib; 2024-09-15 10:43:49 +02:00
Robert Schütz
4c8a43881f nixos/samba: accept lists 2024-09-13 15:33:49 -07:00
Pascal Bach
e7bcab801c nixos/samba: ensure global section is always first
The order of the [global] section matters as settings
defined there are only applied to shares that are defines
after it.
2024-09-12 21:08:24 +02:00
Anthony ROUSSEL
603159799c nixos/samba: revert default values 2024-09-08 23:43:10 +02:00
Yuxuan Shui
036d05a466 nixos/samba: fix migration guide for securityType 2024-09-08 00:26:27 +01:00
Anthony ROUSSEL
1938960bfe nixos/samba: fix conditional activation of samba services 2024-09-07 10:16:03 +02:00
Anthony Roussel
56ae1fb452 nixos/samba: split and sync SystemD services with upstream 2024-09-06 17:53:22 +02:00
Anthony Roussel
ac29b192d8 nixos/samba: use mkEnableOption when possible 2024-09-06 17:53:22 +02:00
Anthony Roussel
3f0b4964c3 nixos/samba: add documentation to systemd.services 2024-09-06 17:53:22 +02:00
Anthony Roussel
7a3bba220d nixos/samba: add services.samba.smbd.enable option 2024-09-06 17:53:22 +02:00
Anthony Roussel
ee6c8db585 nixos/samba: reorganize and rename module options 2024-09-06 17:53:22 +02:00
Anthony Roussel
3b48a7e013 nixos/samba: add documentation 2024-09-06 17:53:22 +02:00
Anthony Roussel
988c598106 nixos/samba: migrate to structural settings (RFC42) 2024-09-06 17:53:22 +02:00
Philip Taron
9c5c04ca43
nixos/services.ceph: remove with lib; (#339093) 2024-09-05 10:38:52 -07:00
Doron Behar
024357143a
nixos/samba: add mount.cifs +s wrapper (#328901) 2024-09-04 07:55:39 +00:00
Felix Buehler
31c38324dd nixos/services.ceph: remove with lib; 2024-09-02 22:30:59 +02:00
Emery Hemingway
f5b732e9bf nixos/eris-server: update comment 2024-08-27 05:00:44 +00:00
Doron Behar
b33e220ff0 nixos/samba: add mount.cifs +s wrapper
After discussion at:
https://discourse.nixos.org/t/cant-mount-samba-share-as-a-user/49171/
2024-07-21 15:52:01 +03:00
Sandro
31a8448c93
Merge pull request #279917 from h7x4/nixos-module-update-add-samba-slice 2024-07-04 11:48:27 +02:00
Sandro
33f83c6252
Merge pull request #316977 from eclairevoyant/fix-mkEnableOption
treewide: fix mkEnableOption usage
2024-06-25 22:42:16 +02:00
Aleksana
3247a65980
Merge pull request #321242 from onny/davfs2-remove-module
nixos/davfs2: Add deprecation notice
2024-06-22 21:25:02 +08:00
Jonas Heinrich
2eb7209481 nixos/davfs2: Add deprecation notice 2024-06-22 12:21:21 +02:00
Sandro
3d37622cff
Merge pull request #302645 from anthonyroussel/fix-samba 2024-06-20 13:48:06 +02:00
éclairevoyant
7d8742da87
treewide: fix mkEnableOption usage 2024-06-14 02:41:42 -04:00
Anthony Roussel
46db91c0d7
nixos/samba: only create /etc/samba/smb.conf when samba is enabled 2024-06-07 08:44:21 +02:00
Jonas Heinrich
4ce2189082 nixos/davfs2: Remove deprecated extraConfig 2024-06-03 11:36:14 +02:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
éclairevoyant
a60e4033ca
nixos/davfs2: ensure extraConfig and settings are mutually exclusive 2024-04-11 17:37:36 -04:00
éclairevoyant
10c5429290
nixos/davfs2: fix settings option 2024-04-11 17:37:36 -04:00
éclairevoyant
bd4d34650c
nixos/davfs2: refresh extraConfig example 2024-04-11 17:37:36 -04:00
éclairevoyant
0ac090f91a
nixos/davfs2: remove top-level with lib; 2024-04-11 17:37:36 -04:00
éclairevoyant
6cbffaae4c
nixos/davfs2: remove lib.mdDoc (no-op) 2024-04-11 17:37:36 -04:00
éclairevoyant
caa0cbab28
nixos/davfs2: clarify warning 2024-04-11 17:37:36 -04:00
éclairevoyant
0739d3c4c0
nixos/davfs2: fix the warning that deprecates extraConfig 2024-04-11 17:37:36 -04:00
Aaron Andersen
c4719710f0
Merge pull request #298068 from posch/manage-gids
nixos/nfsd: settings for /etc/nfs.conf
2024-04-01 16:15:10 +00:00
Yt
a87b7b96b1
Merge pull request #297014 from onny/davfs2
nixos/davfs2: Convert extraConfig to freeform type (RFC42)
2024-03-31 14:01:24 +00:00
Jonas Heinrich
8616aca59a nixos/davfs2: Convert extraConfig to freeform type 2024-03-31 15:27:21 +02:00
Janne Heß
bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
Tobias Poschwatta
ee2b899ff7 nixos/nfsd: settings for /etc/nfs.conf
services.nfs.settings is added for options that go into /etc/nfs.conf.

There are services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig, but they have drawbacks.  They overlap in
scope (nfs.extraConfig can also add nfsd options). They require that one
writes INI syntax. They often produce nfs.conf files with duplicate
section names, which is confusing.

This deprecates services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig.

services.nfs.settings cannot be used together with
services.nfs.server.extraNfsdConfig or services.nfs.extraConfig.
2024-03-25 12:22:48 +01:00
Lassulus
da25b2382d
Merge pull request #280373 from h7x4/treewide-use-new-tmpfiles-api
treewide: use new tmpfiles API
2024-01-26 10:47:18 +01:00
h7x4
f5d513c573
treewide: use new tmpfiles api 2024-01-24 05:13:17 +01:00
Martin Weinelt
c2853e2588
Merge pull request #258680 from lf-/jade/remove-multiuser-netonline-dep
nixos/systemd: don't require network-online.target for multi-user.target
2024-01-19 12:49:23 +01:00
Sandro
eb09653fde
Merge pull request #266428 from lf-/jade/samba-fix-security-type 2024-01-19 12:29:19 +01:00
Jade Lovelace
6c5ab28fce nixos: fix a bunch of services missing dep on network-online.target
This was done by generating a truly hilarious configuration:

rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix

The following were not tested due to other evaluation errors. They
should probably be manually audited.
services.amule
services.castopod
services.ceph
services.chatgpt-retrieval-plugin
services.clamsmtp
services.clight
services.dante
services.dex
services.discourse
services.dwm-status
services.engelsystem
services.foundationdb
services.frigate
services.frp
services.grocy
services.guacamole-client
services.hedgedoc
services.home-assistant
services.honk
services.imaginary
services.jitsi-meet
services.kerberos_server
services.limesurvey
services.mastodon
services.mediawiki
services.mobilizon
services.moodle
services.mosquitto
services.nextcloud
services.nullmailer
services.patroni
services.pfix-srsd
services.pgpkeyserver-lite
services.postfixadmin
services.roundcube
services.schleuder
services.self-deploy
services.slskd
services.spacecookie
services.statsd
services.step-ca
services.sympa
services.tsmBackup
services.vdirsyncer
services.vikunja
services.yandex-disk
services.zabbixWeb
2024-01-19 00:11:34 -08:00
Luflosi
a4c451fd37
nixos/kubo: cleanup
- Add note explaining why enabling the Kubo daemon won't fully work immediately and requires logging in again
- Use `builtins.isList addrIn` instead of `builtins.typeOf addrIn == "list"`
- Fix indentation
2024-01-14 12:21:09 +01:00