Commit Graph

1085 Commits

Author SHA1 Message Date
Kevin Mehall
fef4baca37
nixos/ssh: Update github.com host key in programs.ssh.knownHostsFiles example
The `programs.ssh.knownHostsFiles` option documentation uses github.com's host keys as an example. GitHub recently announced that the ssh-rsa key has been compromised and rotated it.

The new key can be checked against
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints
2023-03-24 11:51:46 -07:00
Weijia Wang
366e108e41 wxGTK30, wxmac: drop 2023-03-22 13:56:44 +02:00
figsoda
8dd5f6227d
Merge pull request #220928 from figsoda/starship 2023-03-21 13:50:53 -04:00
Mihai Fufezan
692c28ec10
nixos/regreet: init 2023-03-20 02:01:50 +02:00
7c6f434c
f7eeb48523
Merge pull request #213301 from bcc32/atop-dont-leave-new-log-files
nixos/atop: Remove upgraded logfiles if not replaced
2023-03-13 20:20:40 +00:00
figsoda
928c8115ba nixos/starship: add interactiveOnly option 2023-03-12 21:23:23 -04:00
Lily Foster
9c1d627508
Merge pull request #208414 from RossComputerGuy/feat/java-binfmt
nixos/java: add binfmt option
2023-03-11 10:04:43 -05:00
Ilan Joselevich
944436f290
Merge pull request #218921 from wineee/waybar
nixos/waybar: allow change waybar package to use
2023-03-08 14:05:03 +02:00
rewine
ffcf148a8d
nixos/waybar: allow change waybar package to use
also add waybar package to environment.systemPackages
2023-03-08 17:16:37 +08:00
SharzyL
5e651fe37e
nixos/nexttrace: init 2023-03-08 11:21:06 +08:00
Robert Kovacsics
476bb88308 nixos/atop: Don't choke if no existing atop logs 2023-02-28 00:22:11 +00:00
R-VdP
8467c63749
flashrom: use a udev uaccess tag instead of introducing a custom flashrom group
See https://wiki.archlinux.org/title/Udev#Allowing_regular_users_to_use_devices for more info about the uaccess tag. The udev-acl tag is a legacy implementation, we add it purely for backwards compatibility.
2023-02-17 15:56:51 +01:00
Justin Bedő
f2ab8c706d
Merge pull request #158486 from ShamrockLee/singularity-apptainer
singularity: fix defaultPath and reflect upstream changes
2023-02-08 23:47:32 +00:00
pennae
bf4c0c1900 nixos/*: remove trailing period in mkEnableOptions
those are added by mkEnableOption, and .. is replaced to … by markdown
processing.
2023-02-08 15:23:34 +01:00
Yueh-Shun Li
71a89291ee 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-08 18:04:05 +08:00
Yueh-Shun Li
50788d2fb0 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-08 18:03:11 +08:00
Yueh-Shun Li
136bbe2605 nixos/modules/programs/singularity.nix: format expression 2023-02-08 17:42:03 +08:00
Nick Cao
41460f747c
Merge pull request #214363 from jerith666/k3b-cdrtools
k3b: use cdrecord from cdrtools rather than cdrkit
2023-02-08 10:48:09 +08:00
Nick Cao
3aee0744e8
Merge pull request #214982 from Janik-Haag/master
qdmr: fixup
2023-02-07 10:09:49 +08:00
Matthieu Coudron
ef5da70d66
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-07 00:11:18 +01:00
Janik H
e24028141f qdmr: fixup 2023-02-06 20:19:42 +01:00
ChaosAttractor
b0e773adde nixos/sharing: init
Co-Authored-By: fee1-dead <ent3rm4n@gmail.com>
2023-02-06 11:35:42 +01:00
Sebastian Sellmeier
528f7bfd5d
sway: add package-option 2023-02-04 22:49:49 +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
Matt McHenry
3364a1c1a1 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-03 07:54:25 -05:00
OPNA2608
eca30e7730 nixos/miriway: init 2023-02-03 12:56:41 +01:00
0x4A6F
321588818e
Merge pull request #209733 from Janik-Haag/master-qdmr
qdmr: init at 0.11.2, added janik as maintainer
2023-02-02 01:31:32 +01:00
Janik H
68e10c242b nixos/qdmr: init 2023-02-01 19:05:17 +01:00
Aaron L. Zeng
b90cf0612e nixos/atop: Remove upgraded logfiles if not replaced
Before this change, starting atop regularly caused a quadratic
increase in the number of log files over time, as each daily log file
was copied (multiple times) to a new file, and then left there because
the upgrade was a no-op.  This eventually led to atop being unable to
start because the log file name became too long!
2023-01-29 00:24:25 -05:00
pennae
0a6e6cf7e6 nixos/manual: render module chapters with nixos-render-docs
this converts meta.doc into an md pointer, not an xml pointer. since we
no longer need xml for manual chapters we can also remove support for
manual chapters from md-to-db.sh

since pandoc converts smart quotes to docbook quote elements and our
nixos-render-docs does not we lose this distinction in the rendered
output. that's probably not that bad, our stylesheet didn't make use of
this anyway (and pre-23.05 versions of the chapters didn't use quote
elements either).

also updates the nixpkgs manual to clarify that option docs support all
extensions (although it doesn't support headings at all, so heading
anchors don't work by extension).
2023-01-27 20:07:34 +01:00
Bobby Rong
00a6553266
nixos/gnome-documents: remove
We disabled this in gnome module starting from dcbad82
and the package was removed e84c8d6.
2023-01-23 11:59:57 +08:00
Ryan Lahfa
33231c337e
Merge pull request #209538 from voidzero/zsh-syntax-hl.regexp
zsh-syntax-highlighting: add regexp to list of highlighters
2023-01-15 00:26:10 +01:00
Tristan Ross
9fdd97298b nixos/java: add binfmt option 2023-01-13 13:46:31 -08:00
pennae
d6e464b4c5
Merge pull request #208983 from pennae/nixos-manual-md
nixos/manual: convert module chapters to markdown
2023-01-13 13:29:01 +01:00
Janne Heß
ea98d03597
Merge pull request #209755 from ivanbrennan/fix-neovim-runtime
nixos.programs.neovim: fix runtime
2023-01-13 09:43:07 +01:00
pennae
53fc887582 nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
pennae
bf92eaebe4 nixos/manual: generate module chapters with md-to-db.sh 2023-01-10 10:32:00 +01:00
pennae
23ea73b416 nixos/manual: enable smart quotes for all MD chapters 2023-01-10 10:31:59 +01:00
pennae
f60e9eac85 nixos/oh-my-zsh: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae
eb2e1b04a6 nixos/plotinus: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae
0a70ea5e69 nixos/digitalbitbox: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae
6930425922 nixos/manual: normalize <literal><link> -> <link><literal>
MD can only do the latter, so change them all over now to keeps diffs reviewable.

this also includes <literal><xref> -> <xref> where options are referenced since
the reference will implicitly add an inner literal tag.
2023-01-10 10:31:52 +01:00
pennae
80a78f2e1e nixos/manual: remove links from program listings
markdown cannot represent those links. remove them all now instead of in
each chapter conversion to keep the diff for each chapter small and more
understandable.
2023-01-10 10:31:52 +01:00
Artturi
27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases 2023-01-09 22:15:50 +02:00
Artturin
2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
Sandro
a5ca4cfdf1
Merge pull request #209758 from mattmelling/xastir-doc-fix 2023-01-09 16:49:18 +01:00
Matt Melling
f8c8f22104
nixos/xastir: fix enable option doc string 2023-01-08 21:17:41 +00:00
ivanbrennan
418fda2293
nixos.programs.neovim: fix runtime
When this module was first introduced, it processed the runtime option
in a way that nested the resulting files and directories under an etc
directory.
https://github.com/NixOS/nixpkgs/pull/98506/files#diff-685092dbb1852fbf30857fe3505d25dc471dc79d0f31c466523b5f5822b68127R11-R21

That implementation relied on nixos/modules/system/etc/make-etc.sh, a
script that was later removed.
eb7120dc79

The implementation was updated to use linkFarm, which changed the
behavior slightly, in that the configured files and directories are no
longer automatically nested under an etc directory.
307b1253a7

But the module still configures neovim's runtimepath in a way that
assumes the old nesting behavior.
04f574a1c0/nixos/modules/programs/neovim.nix (L173)

Restore the original behavior, nesting runtime files and directories
under an etc directory.
2023-01-08 16:15:56 -05:00
voidzero
29749d22a3 zsh-syntax-highlighting: add regexp to list of highlighters 2023-01-07 19:39:31 +01:00
Naïm Favier
8822e9620c
nixos/iay: use mkPackageOptionMD 2023-01-05 20:01:57 +01:00