| Commit message (Collapse) | Author | Age |
|\
| |
| | |
dnschain: remove
|
| |
| |
| |
| |
| | |
The software is unmaintained since ~2014 and the package
can't be built anymore (issue #89205).
|
|\ \
| | |
| | | |
Add socket-based IPFS support
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it possible to only start IPFS when needed. So a user’s
IPFS daemon only starts when they actually use it.
A few important warnings though:
- This probably shouldn’t be mixed with services.ipfs.autoMount
since you want /ipfs and /ipns aren’t activated like this
- ipfs.socket assumes that you are using ports 5001 and 8080 for the
API and gateway respectively. We could do some parsing to figure
out what is in apiAddress and gatewayAddress, but that’s kind of
difficult given the nonstandard address format.
- Apparently? this doesn’t work with the --api commands used in the tests.
Of course you can always start automatically with startWhenNeeded =
false, or just running ‘systemctl start ipfs.service’.
Tested with the following test (modified from tests/ipfs.nix):
import ./make-test-python.nix ({ pkgs, ...} : {
name = "ipfs";
nodes.machine = { ... }: {
services.ipfs = {
enable = true;
startWhenNeeded = true;
};
};
testScript = ''
start_all()
machine.wait_until_succeeds("ipfs id")
ipfs_hash = machine.succeed("echo fnord | ipfs add | awk '{ print $2 }'")
machine.succeed(f"ipfs cat /ipfs/{ipfs_hash.strip()} | grep fnord")
'';
})
Fixes #90145
Update nixos/modules/services/network-filesystems/ipfs.nix
Co-authored-by: Florian Klink <flokli@flokli.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we had three services for different config flavors. This is
confusing because only one instance of IPFS can run on a host / port
combination at once. So move all into ipfs.service, which contains the
configuration specified in services.ipfs.
Also remove the env wrapper and just use systemd env configuration.
|
| | | |
|
|\ \ \
| | | |
| | | | |
nixos/{modules,tests}/teeworlds: init
|
| | | |
| | | |
| | | |
| | | | |
add module and test
|
|\ \ \ \
| | | | |
| | | | | |
services.x11.videoDrivers: Don't include vmware driver on non-x86 platforms
|
| | | | |
| | | | |
| | | | |
| | | | | |
A better option for vmware guests is to set `virtualisation.vmware.guest.enable`.
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
nixos/prometheus-apcupsd-exporter: new module
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
prometheus-keylight-exporter: init at 0.1.1
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
nixos/redis: add redis group
|
| | | | | | |
|
| | | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The setgid is currently required for offline enqueuing, and
unfortunately smtpctl is currently not split from sendmail so there's
little running around it.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Refactor Synapse plugins, add matrix-synapse-pam
|
| | | | | | |
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
nixos/nextcloud: preserve OC_PASS env variable in the occ wrapper
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
The OC_PASS environment variable can be used to create a user with
`occ user:add --password-from-env`. It is currently not possible to
use the `nextcloud-occ` to "non-interactively" create a user since
this variable is ignored by sudo.
|
|\ \ \ \
| |/ / /
|/| | | |
Gnome and Pantheon: install nixos wallpapers
|
| | | |
| | | |
| | | |
| | | | |
Fixes #86146
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes things so much easier, and we install to
the path that both gnome-backgrounds and
elementary-wallpapers install to.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This switches the unit to Restart=on-failure and switches the CPU policy
to fifo (the daemon tries to do that itself, but is denied permission).
Also add the package to $PATH to be able to use fs_cli easily.
|
|\ \ \ \
| | | | |
| | | | | |
Don't enable nix-bash-completions when using Nix 2.4
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
2.4 has its own completion script which collides with
nix-bash-completions.
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
fixes #30023
|
|\ \ \ \ \
| | | | | |
| | | | | | |
nixos/buildbot-master: fix typo in services.buildbot-master.bpPort
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's pbPort, and it's also a connection string, meaning
listen-on-localhost is also possible. Provide an alias for the old
option name, so old configs still work.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/
https://about.gitlab.com/releases/2020/05/27/security-release-13-0-1-released/
https://about.gitlab.com/releases/2020/05/29/gitlab-13-0-3-released/
The gitaly gitlab-shell config has moved into gitaly.toml. See
https://gitlab.com/gitlab-org/gitaly/-/issues/2182 for more info.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
nixos/nscd: set positive hosts caching ttl to 0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This effectively disables nscd's built-in hosts cache, which turns out
to be erratic in some cases.
We only use nscd these days as a more ABI-neutral NSS dispatcher
mechanism.
Local caching should still be possible with local resolvers in
/etc/resolv.conf (via the `dns` NSS module), or without local resolvers
via systemd-networkd (via the `resolve` nss module)
We don't set enable-cache to no due to
https://github.com/NixOS/nixpkgs/pull/50316#discussion_r241035226.
|
| | | | | |
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | | |
* matrix-appservice-discord: init at 0.5.2
* nixos/matrix-appservice-discord: add module
|
|\ \ \ \
| | | | |
| | | | | |
nixos/v2ray: check v2ray config during the build time
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
nixos/haproxy: add reloading support, use upstream service hardening
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Refactor the systemd service definition for the haproxy reverse proxy,
using the upstream systemd service definition. This allows the service
to be reloaded on changes, preserving existing server state, and adds
some hardening options.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vsftpd: listen on both address families
|