Commit Graph

435 Commits

Author SHA1 Message Date
Felix Buehler
a9748cc118 nixos/services.cachefilesd: remove with lib; 2024-11-28 19:08:41 +01:00
Luflosi
5742cb2a48
kubo: 0.29.0 -> 0.30.0
https://github.com/ipfs/kubo/releases/tag/v0.30.0
2024-11-21 19:12:27 +01:00
Luflosi
9e2866d215
kubo-migrator: rewrite
- Migrate to pkgs/by-name
- Format with nixfmt-rfc-style
- Make it possible to remove support for very old migrations in the future by increasing the `minRepoVersion` parameter
- Rename kubo-migrator-all-fs-repo-migrations to kubo-fs-repo-migrations since it may no longer include all migrations
- Add an alias for kubo-migrator-all-fs-repo-migrations to keep backwards compatibility
- Update descriptions to differentiate between kubo-migrator and kubo-migrator-unwrapped and better describe the purpose of the migrator
- Add a description to every individual migration
- Add a description to kubo-fs-repo-migrations
- Fetch the source code of the individual migrations from their specific Git tags, like upstream intends
- Enable tests for some migrations
- Check that the migrations don't crash on startup
- Mark two broken migrations as broken. They are not compatible with the latest Go versions and upstream is not interested in fixing this
- Change code to allow most updates to be done by only changing three lines (add new version and change git tag and hash)
- Add a stub for any disabled or broken migration to prevent downloading unsigned binaries from the internet, see https://github.com/ipfs/fs-repo-migrations/issues/148#issuecomment-2351355627 and https://github.com/ipfs/fs-repo-migrations/issues/188
- Use `lib.getExe` instead of hardcoding the binary name in the kubo NixOS module
- Use `substituteInPlace` with `--replace-fail` instead of `--replace`
2024-11-20 16:17:14 +01:00
Markus Kowalewski
d22d60f3ac
nixos/saunafs: add module + test 2024-10-12 19:13:00 +02:00
Bjørn Forsman
48908e5b86 nixos: improve systemd slice names
Following
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Description=,
update slice names to be short, descriptive and capitalized.
2024-10-02 20:24:13 +02:00
Jörg Thalheim
b4b8ef5bb6 nixos/network-filesystems/samba: fix eval 2024-09-15 11:02:11 +02:00
Felix Buehler
76831f7a1b nixos/services.yandex-disk: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
bc58f67812 nixos/services.xtreemfs: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
9ffa253b87 nixos/services.webdav: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
e71c09b8f8 nixos/services.webdav-server-rs: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
43235a1a61 nixos/services.u9fs: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
443dc608d2 nixos/services.tahoe: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
f0f841be80 nixos/services.samba: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
4174027fe9 nixos/services.samba-wsdd: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
442fa2e366 nixos/services.rsyncd: remove with lib; 2024-09-15 10:43:50 +02:00
Felix Buehler
23fed458df nixos/services.orangefs.server: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
6f4eeb7722 nixos/services.orangefs.client: remove with lib; 2024-09-15 10:43:49 +02:00
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