| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
The database name needs to be quoted
in case it contains special characters
so the MySQL service does not fail to start.
|
|\
| |
| | |
nixos/desktops: deduplicate removePackagesByName
|
| |
| |
| |
| |
| | |
GNOME, MATE and LxQt all use removePackagesByName. Let’s move it to a single
place, rename the attributes to meaningful name and add docs.
|
|\ \
| | |
| | | |
nixos/stage-1, nixos/f2fs: added F2FS resizing
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
resizing
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
F2FS is used on Raspberry Pi-like devices to enhance SD card performance. Allowing F2FS resizing would help in automatic deploying of SD card images without a Linux box to resize the file system offline.
|
|\ \ \
| | | |
| | | | |
nixos/gitea: minor fixes
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise commands like `git push` will fail if the machine doesn't have
git installed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Although this can be added to `extraOptions` I figured that it makes
sense to add an option to explicitly promote this feature in our
documentation since most of the self-hosted gitea instances won't be
intended for common use I guess.
Also added a notice that this should be added after the initial deploy
as you have to register yourself using that feature unless the install
wizard is used.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As a workaround for #51025 and
https://github.com/NixOS/nix/issues/1232
This reverts commit 5f894a67f565129ac683434c3040ba85c2df3750.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* prepend a newline to the `include` directive
* generate the nanorc by default, since `cfg.syntaxHighlight` is `true`
|
|\ \ \ \
| | | | |
| | | | | |
sonarr service: add more options to module
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
nixos/containers: explicitly set link up on host for extraVeths
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
nixos-rebuild: allow to override builders
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since nix 2.0 the no-build-hook option was replaced by the builders options
that allows to override remote builders ad-hoc.
Since it is useful to disable remote builders updating nixos without network,
this commit reintroduces the option.
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
The option is `false` by default since
e349ccc77febd45abbd14be14f7de123ec4a4da2, so we don’t need to mention
it explicitely in these minimal configs.
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
A couple thousand rebuilds have accumulated on master.
|
| |/ / |
|
| | |
| | |
| | | |
so multiple declarations merge properly
|
|\| | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While at it (see previous commit), using attrNames in combination with
length is a bit verbose for checking whether the filtered attribute set
is empty, so let's just compare it against an empty attribute set.
Signed-off-by: aszlig <aszlig@nix.build>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When generating values for the services.nsd.zones attribute using values
from pkgs, we'll run into an infinite recursion because the nsd module
has a condition on the top-level definition of nixpkgs.config.
While it would work to push the definition a few levels down, it will
still only work if we don't use bind tools for generating zones.
As far as I could see, Python support for BIND seems to be only needed
for the dnssec-* tools, so instead of using nixpkgs.config, we now
directly override pkgs.bind instead of globally in nixpkgs.
To illustrate the problem with a small test case, instantiating the
following Nix expression from the nixpkgs source root will cause the
mentioned infinite recursion:
(import ./nixos {
configuration = { lib, pkgs, ... }: {
services.nsd.enable = true;
services.nsd.zones = import (pkgs.writeText "foo.nix" ''
{ "foo.".data = "xyz";
"foo.".dnssec = true;
}
'');
};
}).vm
With this change, generating zones via import-from-derivation is now
possible again.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @pngwjpgh
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
atlassian updates
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This can take a long time and should not be necassary anyway.
|
| |\ \ \ \
| | | | | |
| | | | | | |
datadog-agent: 6.4.2 -> 6.8.3
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
nixos/systemd-udev-settle: don't restart on upgrades
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The idea is that we only need this target during boot,
however there is no point on restarting it on every upgrade.
This hopefully fixes #21954
|
| |\ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | | |
make-disk-image: use filterSource instead of cleanSource
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
cleanSource does not appear to work correctly in this case. The path
does not get coerced to a string, resulting in a dangling symlink
produced in channel.nix. Not sure why, but this
seems to fix it.
Fixes #51025.
/cc @elvishjericco
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
cassandra: add option to configure logging
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
As cassandra start script hardcodes the location of logback
configuration to `CASSANDRA_CONF_DIR/logback.xml` there is no way to
pass an alternate file via `$JVM_OPTS` for example.
Also, without logback configuration DEBUG level is used which is not
necessary for standard usage.
With this commit a default logback configuration is set with log level
INFO.
Configuration borrowed from:
https://docs.datastax.com/en/cassandra/3.0/cassandra/configuration/configLoggingLevels.html
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
apache-httpd/wordpress: copy plugins and themes instead of symlinking
|
| | | |_|_|_|/ /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Symlinking works for most plugins and themes, but Avada, for instance, fails to
understand the symlink, causing its file path stripping to fail. This results in
requests that look like:
https://example.com/wp-content//nix/store/...plugin/path/some-file.js
Since hard linking directories is not allowed, copying is the next best thing.
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Minor initrd improvements
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The improved lspci command shows all available ethernet controllers and
their kernel modules. Previously, the user had to provide the slot name
of a specific device.
|