Commit Graph

24261 Commits

Author SHA1 Message Date
Izorkin
f849e64c0a nixos/systemd-coredump: fix group id 2023-02-13 14:55:52 +01:00
IndeedNotJames
e7aa70d2ea nixos/caddy: fix caddy fmt for caddy v2.6.3
The nixos module uses `caddy fmt` to *format* the generated Caddyfile.
v2.6.3 slightly altered `caddy fmt`'s behavior.

Excerpt from https://github.com/caddyserver/caddy/releases/tag/v2.6.3
> cmd: caddy fmt return code is 1 if not formatted
> cmd: fmt exit successfully after overwriting config file

Which is why the internal `Caddyfile-formatted` now uses `cp` and `caddy fmt --overwrite` instead
2023-02-13 14:55:51 +01:00
Yueh-Shun Li
29f92eb0e9 apptainer, singularity: enable non-FHS --fakeroot support
This patch provides input arguments `newuidmapPath` and `newgidmapPath`
for apptainer and singularity to specify the path to the SUID-ed executables
newuidmap and newgidmap where they are not available from the FHS PATH.

As NixOS places those suided executables in a non-FHS position
(/run/wrapper/bin), this patch provides
programs.singularity.enableFakeroot option and implement with the above
input parameters.
2023-02-13 14:55:43 +01:00
Yueh-Shun Li
3477455404 apptainer, singularity: fix defaultPath and reflect upstream changes
Upstream changes:
singularity 3.8.7 (the legacy) -> apptainer 1.1.3 (the renamed) / singularity 3.10.4 (Sylabs's fork)

Build process:
*   Share between different sources
*   Fix the sed regexp to make defaultPath patch work
*   allowGoReference is now true
*   Provied input parameter removeCompat (default to false)
    that removes the compatible "*singularity*" symbolic links
    and related autocompletion files when projectName != "singularity"
*   Change localstatedir to /var/lib
*   Format with nixpkgs-fmt
*   Fix the defaultPath patching
    and use it instead of the `<executable> path` config directive
    deprecated in Apptainer
*   Provide dependencies for new functionalities such as
    squashfuse (unprivileged squashfs mount)
*   Provide an attribute `defaultPathInputs` to override
    prefix of container runtime default PATH

NixOS module programs.singularity:
*   Allow users to specify packages
*   Place related directories to /var/lib
*   Format with nixpkgs-fmt

singularity-tools:
*   Allow users to specify packages
*   Place related directories to /var/lib when building images in VM
2023-02-13 14:55:43 +01:00
Yueh-Shun Li
a2103f41c5 nixos/modules/programs/singularity.nix: format expression 2023-02-13 14:55:42 +01:00
Sandro Jäckel
a7f99ea0e7 nixos/envfs: add extraFallbackPathCommands options
this is mainly useful for restricted platforms like wsl which require
some extra entries in /bin/
2023-02-13 14:55:37 +01:00
Sandro Jäckel
badd06f1cf nixos/envfs: use configured environment.usrbinenv and environment.binsh
Taken from upstream
d91aeefccb
2023-02-13 14:55:37 +01:00
pennae
2610f45516 nixos/*: remove trailing period in mkEnableOptions
those are added by mkEnableOption, and .. is replaced to … by markdown
processing.
2023-02-13 14:55:34 +01:00
pennae
cb12267aa0 nixos/x11: fix some docs links
the docbook stylesheets duplicated the target of these untitled links
into their label, but we should do that in markdown instead.
2023-02-13 14:55:34 +01:00
K900
0d0560e42f nixos/plasma5: install kio-admin for desktop 2023-02-13 14:55:32 +01:00
Winter
c6eea1fe9e nixos/luksroot: build pbkdf2-sha512 binary in its own derivation
Since this feature's inception, we've compiled a binary that uses OpenSSL
to perform PBKDF-SHA512 during the extra-utils build. In addition to this
being inefficient, it broke as of 6ea1a2a1be,
which switched the extra-utils derivation to use stdenvNoCC.

For now, I think the path of least resistence is to move the pbkdf-sha512
build to its own derivation, to fix the breakage, as well as improving
the efficiency of the extra-utils build.

(I do believe that at some point, we should revisit this binary -- perhaps
rewriting it -- as Clang even just on its default settings emits more
warnings than you'd want to see in a security-related codebase when
compiling it.)
2023-02-13 14:55:28 +01:00
Matt McHenry
e64c18f259 k3b: use cdrecord from cdrtools rather than cdrkit
fixes this warning:

cdrecord <= 2.01.01a05 will be run with root privileges on kernel >= 2.6.8
Since Linux kernel 2.6.8 cdrecord <= 2.01.01a05 will not work when run suid root for security reasons anymore.
2023-02-13 14:55:23 +01:00
Will Fancher
bfbc47b7e9 initrd-ssh: New sshd settings names 2023-02-13 14:55:17 +01:00
Will Fancher
60ed98f364 sshd: Cyphers -> Ciphers 2023-02-13 14:55:17 +01:00
paumr
3e76f5e882 nixos/roundcube: fixed nginx configuration
the changes are required for oauth setups,
and are based on:
https://github.com/roundcube/roundcubemail/issues/8191#issuecomment-919850328
2023-02-13 14:55:08 +01:00
Googlebot
c55e0b2b85 fix logic 2023-02-13 14:55:02 +01:00
Googlebot
bffc4efcc6 nvidia: Reverse Prime Sync 2023-02-13 14:55:02 +01:00
Janik H
fd3a940590 qdmr: fixup 2023-02-13 14:54:55 +01:00
Vanilla
ece53fc882 nixos/pykms: rename systemd deprecated MemoryLimit to MemoryMax. 2023-02-13 14:54:55 +01:00
Nick Cao
3705889881 nixos/zram: fix default swapDevices 2023-02-13 14:54:53 +01:00
gbtb
01b0855df6 nixos/openvpn: applied nixpkgs-fmt 2023-02-13 14:54:51 +01:00
gbtb
5c9f1ee2db nixos/openvpn: added restartAfterSleep option
Additional systemd unit that hooks to sleep.target and kills openvpn processes
2023-02-13 14:54:51 +01:00
Matthieu Coudron
a083d028dd services.openssh: rename several settings (#211991)
* services.openssh: rename several settings

... to match the sshd config format (makes transition smoother), namely:
services.openssh.forwardX11 -> services.openssh.settings.X11Forwarding
services.openssh.cyphers -> services.openssh.settings.Cyphers
services.openssh.macs -> services.openssh.settings.Macs
services.openssh.kexAlgorithms -> services.openssh.settings.KexAlgorithms
services.openssh.gatewayPorts -> services.openssh.settings.GatewayPorts

* release-notes: mention openssh renaming

* chore: regenerated release-notes
2023-02-13 14:54:49 +01:00
Sandro
d7849e6a8c nixos/nginx: add comment about clearing Connection header (#214211) 2023-02-13 14:54:47 +01:00
Morgan Jones
3b4b7edd3e nixos/nebula: harden systemd unit 2023-02-13 14:54:46 +01:00
Morgan Jones
c673aea520 nixos/nebula: add tests for relays; clean up nebula passthru test 2023-02-13 14:54:46 +01:00
Morgan Jones
43e04dc8eb nixos/nebula: don't run as root; support relays 2023-02-13 14:54:46 +01:00
Maximilian Bosch
629c2b0e3d privacyidea: fix build
The previous changes for the 3.8 update are ready, but staging got
merged into master, so there are a few more challenges to tackle:

* Use python 3.10 now since it's actually supported and less effort to
  build (3.9 isn't recursed into anymore).
* sphinx doesn't build with these overrides, so patch it out entirely
  (i.e. drop `sphinxHook` where it's causing problems).
* backport a few jinja2 fixes for python 3.10 that were fixed in later
  versions, but break because this env is stuck to 2.11.
2023-02-13 14:54:42 +01:00
Maximilian Bosch
9deaaeda37 nixos/privacyidea: fix db uri
Fixes db migration on 3.8. See also https://github.com/privacyidea/privacyidea/issues/3447
2023-02-13 14:54:42 +01:00
Thomas Gerbet
a93855bbe1 meilisearch: 0.30.5 -> 1.0.0
https://github.com/meilisearch/meilisearch/releases/tag/v1.0.0
2023-02-13 14:54:40 +01:00
lucasew
6036176afc nixos/cockpit: init
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-02-13 14:54:40 +01:00
Izorkin
91572904f2 nixos/no-x-libs: add mc 2023-02-13 14:54:35 +01:00
Jason Yundt
2efe56c271 treewide: fix backwards smart apostrophes
According to the Unicode Standard, you should use U+2019 RIGHT SINGLE
QUOTATION MARK for apostrophes [1]. Before this change, some of the text
in this repo would use U+2018 LEFT SINGLE QUOTATION MARKs instead.

[1]: https://www.unicode.org/versions/Unicode15.0.0/ch06.pdf#G12411
2023-02-13 14:54:32 +01:00
Nick Cao
806c9c5e20 nixos/zram: use zram-generator 2023-02-13 14:54:31 +01:00
c8469e0348 Merge branch 'master' into current 2023-02-06 11:47:47 +01:00
Nick Cao
701390c82b Merge pull request #214809 from drupol/fix/update-pihole-exporter
fix: `pihole-exporter` NixOS module
2023-02-06 18:37:11 +08:00
Pol Dellaiera
4e7f20ade9 nixos/prometheus-pihole-exporter: update configuration options
The `interval` configuration option doesn't exist and has been removed.
The `timeout` configuration option has been added.
2023-02-06 11:35:51 +01:00
ChaosAttractor
b0e773adde nixos/sharing: init
Co-Authored-By: fee1-dead <ent3rm4n@gmail.com>
2023-02-06 11:35:42 +01:00
figsoda
f06b88d6d0 Merge pull request #213785 from SuperSandro2000/nox-neofetch
nixos/no-x-libs: add neofetch
2023-02-05 21:13:07 -05:00
Robert Obryk
0a6dd02620 nixos/firefox-syncserver: enable recommendedProxySettings
The syncserver requires a Host header identical to the one provided by
the client.
2023-02-05 23:47:19 +01:00
Malte Voos
3449f83618 maintainers/malvo: update information 2023-02-05 15:05:51 +01:00
Sebastian Sellmeier
528f7bfd5d sway: add package-option 2023-02-04 22:49:49 +01:00
Anderson Torres
f70ca07efd Merge pull request #199881 from Yarny0/fix-plasma
nixos/plasma: leave `displayManager.setupCommands` alone
2023-02-04 10:34:13 -03:00
Anderson Torres
bc0944c06f Merge pull request #214193 from jnsgruk/add-multipass-pkg
multipass: init at 1.11.0
2023-02-04 09:03:54 -03:00
Jon Seager
63e3f8da09 nixos/multipass: init 2023-02-04 07:44:03 +00:00
Robert Kovacsics
32ec41a672 nixos/virtualbox-image: Allow SCSI storage controller for vSphere
This is because vSphere version 6.7.0.51000 errors with

        Issues detected with selected template. Details: -
        78:7:VALUE_ILLEGAL: Value ''3'' of Parent element does not refer
        to a ref of type DiskControllerReference.

when using SATA.
2023-02-04 07:33:11 +01:00
Robert Kovacsics
4009f60d0b nixos/virtualbox-image: Allow running extra commands after OVA creation
This is useful as virtual machines can often be large files so not
having duplicates/work files in /nix/store can save a lot of space.
2023-02-04 07:33:11 +01:00
Nick Cao
3ab1fd296f Merge pull request #212199 from OPNA2608/init/miriway
miriway: init at unstable-2022-12-18
2023-02-04 09:50:17 +08:00
OPNA2608
eca30e7730 nixos/miriway: init 2023-02-03 12:56:41 +01:00
Nick Cao
8e73b25e77 Merge pull request #214199 from TheBenCollins/patch-1
Fix mistake in command execution parameter
2023-02-03 09:06:39 +08:00