Commit Graph

40275 Commits

Author SHA1 Message Date
Sandro Jäckel
1fb10f5017
nixos/fzf: bring back keybindings and completion option removed in #298692
Also drop with lib
2024-04-11 15:08:51 +02:00
Nick Cao
36c0c14192
Merge pull request #303273 from jmbaur/cloudflared-docs
nixos/cloudflared: fix docs for tlsTimeout
2024-04-11 09:04:41 -04:00
Bobby Rong
a1b567757b
Merge pull request #303115 from bobby285271/upd/exclude-pkgs
nixos/{budgie,cinnamon,pantheon}: Don't enable modules for excludePackages
2024-04-11 20:41:13 +08:00
K900
084ce1ee88
Revert "nixos/getty: add option to autologin once per boot" 2024-04-11 15:05:26 +03:00
Simon Hauser
b3642388fe
keydb: init at 6.3.4 2024-04-11 10:47:07 +02:00
Michele Guerini Rocco
4a42c797a4
Merge pull request #286310 from rnhmjoj/pr-getty-autologin
nixos/getty: add option to autologin once per boot
2024-04-11 08:48:50 +02:00
Casey Link
789684ad02
nixos/paperless: Switch to systemd.tmpfiles.settings
This option resolves #301746 by allowing the admin to bypass the
creation of the paperless directories by systemd-tmpfiles.

This is necessary when, for example, those directories lie inside an NFS
mount that the root user does not have rw access to.

Fixes #301746
2024-04-11 08:19:24 +02:00
Casey Link
9532793d59
nixos/paperless: refactor to use systemd LoadCredential
This replaces the paperless-copy-password service with the use of
systemd's LoadCredential mechanism.

It is not a breaking change since it is gated behind `cfg.passwordFile`.
2024-04-11 08:19:05 +02:00
John Titor
1198dc84f8
nixos/hyprland: systemd.setPath - fix user profile bin directory
%u modifier can be used to get the username in systemd config
$USER var expansion does not work without manually importing $USER
Should fix opening links in home manager/user profile programs
2024-04-11 09:53:43 +05:30
Jared Baur
c1d5363ecc
nixos/cloudflared: fix docs for tlsTimeout
The URL and link text were swapped.
2024-04-10 21:12:51 -07:00
Phil Dyer
97899b5ba6 doc: add information about ryzen-monitor-ng and ryzen-smu modules 2024-04-11 11:50:20 +10:00
Phil Dyer
286d741f47 nixos/ryzen-monitor-ng: init module
A userspace tool for setting and getting AMD CPU power
and performance parameters.

The module adds `ryzen_monitor_ng` to `environment.systemPackages` and
enables the `ryzen-smu` module, as `ryzen_monitor_ng` requires the
`ryzen_smu` kernel module to function.
2024-04-11 11:46:59 +10:00
Phil Dyer
ba0566726e nixos/ryzen-smu: init module
Provide a module for installing ryzen_smu, a Linux kernel driver
that exposes access to the SMU (System Management Unit) for
certain AMD Ryzen Processors.

Installs monitor_cpu, a userspace tool for viewing info.

Using fork of original to match ryzen_monitor_ng, a more advanced
userspace tool for accessing the SMU via this kernel module,
planned for a later commit.
2024-04-11 11:40:43 +10:00
Aaron Andersen
d2b7e6797b
Merge pull request #291321 from c0deaddict/feature/nats-exporter
nixos/prometheus-nats-exporter: new module
2024-04-10 22:39:40 +00:00
Pascal Bach
a8eaee11a9
Merge pull request #296459 from MinerSebas/restic-rest-server-hardening
nixos/restic-rest-server:  Add additional service hardening
2024-04-10 23:33:34 +02:00
Cole Helbling
dbc967d14d Revert "NixOS Integration Tests: Enable again for darwin" 2024-04-10 12:52:12 -07:00
K900
85d3f97277
Merge pull request #303114 from K900/sddm-no-x11
nixos/sddm: allow disabling the rest of X11
2024-04-10 22:22:20 +03:00
K900
ab0b45a3a0 nixos/sddm: allow disabling the rest of X11 2024-04-10 22:22:05 +03:00
Adam C. Stephens
e8ff41fa85
Merge pull request #285041 from r-vdp/nix-optimise-fix-timer
nix-optimise: only create timer unit if needed
2024-04-10 13:48:22 -04:00
Bjørn Forsman
74c1547424 nixos/doc: suggest mounting the ESP on /boot with umask=077
This prevents world-readable access to /boot, which is a security issue
that systemd-boot warns about.

Fixes https://github.com/NixOS/nixpkgs/issues/279362.
2024-04-10 19:34:07 +02:00
Bjørn Forsman
e17e60b273 nixos-generate-config: preserve vfat filesystem mount permissions
The default is to mount these world-readable, but that's a security risk
for the EFI System Partition.

Ref https://github.com/NixOS/nixpkgs/issues/279362.
2024-04-10 19:34:07 +02:00
Connor Baker
546930ab97
Merge pull request #300321 from jonringer/deprecate-cuda-autoAddDriver
cudaPackages.autoAddX: Deprecate
2024-04-10 12:45:48 -04:00
Jacek Galowicz
e4bf075cff NixOS Integration Tests: Enable again for darwin 2024-04-10 17:59:11 +02:00
Maximilian Bosch
a3d3cdf5d9
nixos/matrix-synapse: don't use services.postgresql.initialScript in setup example
Closes #285688

This is misleading because `initialScript` will only be executed at the
*very first* run of postgresql. I.e. when deploying synapse to a server
with an existing postgresql, this won't work.

We don't have a good way of automatically provisioning databases
_declaratively_, so for now just explain what needs to be done here and
leave it to the user how to include this into their deployment.
2024-04-10 17:43:02 +02:00
Jonathan Ringer
dadbcf9367
nixos/rl-24.05: Add deprecation entry for cudaPackages.autoAdd{DriverRunpath,OpenGLRunpathHook} 2024-04-10 08:31:19 -07:00
Jos van Bakel
2e10f813fe
nixos/prometheus-nats-exporter: new module 2024-04-10 17:12:49 +02:00
Bobby Rong
2a8a59aebb
nixos/budgie: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:33:34 +08:00
Bobby Rong
a6ada0502b
nixos/pantheon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877

While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds.
2024-04-10 21:27:31 +08:00
Bobby Rong
14c7a500c0
nixos/cinnamon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:14:43 +08:00
linsui
f1c99961e3 nixos/fzf: fix typo 2024-04-10 19:55:33 +08:00
Jörg Thalheim
949fe90552
Merge pull request #297640 from Mic92/digitalocean
digital-ocean: 'make it easier to use disko' and 'no longer disable multiple nixos generations in bootloader'
2024-04-10 09:08:20 +02:00
Rick van Schijndel
067e519281
Merge pull request #302858 from tweag/infinisil-maintainer
treewide: Drop infinisil as maintainer from most packages
2024-04-10 08:50:38 +02:00
K900
2704f5bb2f
Merge pull request #302595 from motiejus/autorandr-match-edid
nixos/autorandr: add --match-edid
2024-04-09 23:23:59 +03:00
Motiejus Jakštys
dd1e21f39f nixos/autorandr: add --match-edid
It is useful when outputs change, but EDIDs do not. See [upstream PR][1]
for more details.

[1]: https://github.com/phillipberndt/autorandr/pull/293
2024-04-09 23:22:08 +03:00
Silvan Mosberger
ea5dfeab93 treewide: Drop infinisil as maintainer from most packages
I'm not going anywhere, I'm focusing my energy on other issues, and
getting pinged as a maintainer for packages is a bit distracting (also
I'm not using most of these packages anyways!)
2024-04-09 21:43:39 +02:00
Silvan Mosberger
4f1d724b82
Merge pull request #284551 from hercules-ci/types-attrTag
Add `types.attrTag`
2024-04-09 20:48:44 +02:00
Leona Maroni
40d8229671
Merge pull request #302203 from flyingcircusio/logrotate-docs-priority
nixos/logrotate docs: clarify settings
2024-04-09 20:47:59 +02:00
Jörg Thalheim
fb158384bd
Merge pull request #289270 from Mic92/nixos-tinc
nixos/tinc: fix user to not include . in its name
2024-04-09 19:43:48 +02:00
Jörg Thalheim
d79ff2f15b
Merge pull request #241816 from Mic92/cloud-init
nixos/cloud-init: enable filesystem based on what is configured
2024-04-09 19:42:45 +02:00
Jörg Thalheim
13cc579932
Merge pull request #301528 from Mic92/borgbackup-fix
nixos/borgbackup: fix network-online.target warning
2024-04-09 19:39:11 +02:00
pennae
4e21f361d6
Merge pull request #154952 from colemickens/extlinux
extlinux-conf-builder: specialisations entries
2024-04-09 18:49:08 +02:00
K900
97d675f411
Merge pull request #302758 from K900/kio-shenanigans
nixos/plasma6: better way to install kio5 plugins
2024-04-09 19:10:35 +03:00
K900
f18f62d23a nixos/plasma6: better way to install kio5 plugins
This should _for sure_ avoid pulling in unnecessary bits.
2024-04-09 19:10:10 +03:00
tcmal
f8b9215e9f akkoma: add tcmal as maintainer 2024-04-09 13:58:04 +01:00
tcmal
d598b5d88d nixos/akkoma: check that upload and media proxy base url is specified
new versions of akkoma require the upload base url to be specified in
order for updates to work properly.
this will be a breaking change in 24.05, but for now a reasonable
default is set.
2024-04-09 13:58:03 +01:00
Sandro
4cc6ce454d
Merge pull request #291913 from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Sandro
550f705f42
Merge pull request #301392 from McSinyx/yubi-pinentry-doc 2024-04-09 10:54:22 +02:00
rnhmjoj
3577aef354
doc/release-notes: mention getty.autologinOnce 2024-04-09 08:35:59 +02:00
K900
ad3a164c8c
Merge pull request #302748 from eclairevoyant/steam-fonts-revert
Revert "nixos/steam: ensure Steam picks up font packages"
2024-04-09 08:24:41 +03:00
Bjørn Forsman
a29010fe79 nixos: improve many 'enable' descriptions 2024-04-09 07:10:17 +02:00
éclairevoyant
f6fe07e669
Revert "nixos/steam: ensure Steam picks up font packages"
This reverts commit 2a1241b0e6aa5a18169c7507e64887fd90302320.
2024-04-09 00:38:11 -04:00
Robert Schütz
0dca19054c
Merge pull request #302389 from SuperSandro2000/vaultwarden-webvault
vaultwarden.webvault: 2024.3.0 -> 2024.3.1
2024-04-09 03:49:54 +00:00
Adam C. Stephens
f3ee2a75d4
Merge pull request #301712 from adamcstephens/incus/6
incus: 0.7.0 -> 6.0.0, add lts
2024-04-08 23:25:58 -04:00
Pol Dellaiera
38475aff83
Merge pull request #276695 from katexochen/azure-cli/plugins
azure-cli: immutable command index & add extensions
2024-04-09 03:44:35 +02:00
éclairevoyant
0c165dec84 nixos/steam: ensure Steam picks up font packages 2024-04-08 15:59:36 -07:00
Sandro Jäckel
b6e0c42bc2
tests/vaultwarden: adjust to changes in frontend 2024-04-09 00:05:35 +02:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Sandro Jäckel
5598d81e94
nixos/graphical-desktop: extract generic graphical things from xserver
This is required to fix the keymap in SDDM without X.
2024-04-08 21:56:37 +02:00
Sandro Jäckel
d220d8bb6f
nixos/sddm: allow running on wayland without xserver enabled 2024-04-08 21:56:37 +02:00
Sandro Jäckel
0d3ab0d4ec
nixos/sddm: move option from services.xserver.displayManager.sddm to services.displayManager.sddm
Because it is not just X anymore
2024-04-08 21:56:37 +02:00
Sandro Jäckel
6be2bfcc32
nixos/display-managers: extract generic display-manager bits
Some settings which where before inside the xserver module, are generic
and also required for SDDM under wayland. To make them easily re-usable
lets extract them.
2024-04-08 21:56:36 +02:00
Adam Stephens
a55f6f1511
lxd: add release notes for LTS change 2024-04-08 14:18:16 -04:00
Adam Stephens
dce92a3114
incus-lts: init at 6.0.0 and make default 2024-04-08 14:18:02 -04:00
linsui
89db988ed2 nixos/lazygit: init
Update nixos/modules/programs/lazygit.nix

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>

Update nixos/modules/programs/lazygit.nix

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-04-09 01:46:43 +08:00
nikstur
80cafa6a29
Merge pull request #302590 from nikstur/repart-image-label-length
nixos/image/repart: assert maximum label length
2024-04-08 18:48:53 +02:00
Gary Guo
eb91bc05bd nixos/resolvconf: fix useLocalResolver when IPv6 is enabled
resolvconf.conf is a shell script and unlike resolv.conf, multiple
nameservers are specified by space separating them instead of adding
multiple lines.

Fixes: fc060cc3cb
2024-04-08 16:45:35 +01:00
Will Fancher
0f5ae24dfb
Merge pull request #302466 from luishfonseca/zfs-initrd-udev-rules
nixos/zfs: Install zfs udev rules on stage1
2024-04-08 11:43:35 -04:00
Florian Klink
1dab5d7c77
Merge pull request #302228 from xzfc/bind-ipv6
bind: allow recursive queries from IPv6 loopback
2024-04-08 18:35:18 +03:00
nikstur
ad19cee09c nixos/image/repart: assert maximum label length
The maximum label length is specified by UEFI and enforced/asserted by
systemd-repart. This lets evaluation fail already and give the user
some more information about what's wrong.

Also warn when the suggested label length is exceeded. This serves as a
safety mechanism for using systemd-sysupdate style A/B updates where the
version number is encoded in the label and might not be incrementable
when the maximum label size is reached.
2024-04-08 16:42:25 +02:00
nikstur
4c397ea6de systemd-lib: include GPTMaxLabelLength constant 2024-04-08 16:42:25 +02:00
linsui
1f761a49ce i2p: cleanup and build jbigi from source 2024-04-08 22:29:23 +08:00
Cabia Rangris
215d144f77
nixos/outline: fix s3 storage (#302567)
ReadWritePaths were crashing the unit due to non-existent folders on s3 configuration

https://github.com/NixOS/nixpkgs/pull/298892#issuecomment-2042666854
2024-04-08 17:06:27 +04:00
nikstur
b1a486be09
Merge pull request #301581 from nikstur/repart-image-cross
nixos/repart-image: supply explicit --architecture to repart
2024-04-08 14:14:19 +02:00
Michele Guerini Rocco
42b2359f2c
Merge pull request #302522 from kmein/keygen
nixos/manual: fix sshfs keygen output
2024-04-08 12:07:17 +02:00
Kierán Meinhardt
1c896bd6e1 nixos/manual: fix sshfs keygen output 2024-04-08 10:48:29 +02:00
Marek Fajkus
e8c2005464
Merge pull request #301904 from presto8/restart-xss-lock
nixos/xss-lock: restart if xss-lock exits
2024-04-08 10:48:03 +02:00
Sandro
b32f206faa
Merge pull request #258520 from Benjamin-L/soju-admin-socket 2024-04-08 10:20:31 +02:00
K900
0473abba29
Merge pull request #300241 from SuperSandro2000/plasma6-kio-no-kcms
nixos/plasma6: don't add kio's KCMs to systemsettings
2024-04-08 10:57:23 +03:00
Robert Hensing
c740c98fc1
Merge pull request #292760 from PigeonF/dockertools-build-layered-compressor
dockerTools: Fix changing compression method for `buildLayeredImage`
2024-04-08 09:24:18 +02:00
abysssol
18a5476aa7 nixos/ollama: add options to override HOME and OLLAMA_MODELS 2024-04-07 22:56:43 -04:00
Luís Fonseca
38b68216a5
nixos/zfs: install zfs udev rules on stage1
Install zfs udev rules on initrd, so that /dev/zvol gets populated.
2024-04-08 02:53:01 +01:00
Weijia Wang
d217732cef
Merge pull request #302195 from anthonyroussel/fix-oddjobd
nixos/oddjobd: enable dbus service to fix service startup
2024-04-07 22:52:46 +02:00
Julien Malka
668834f72c
Merge pull request #295736 from mjm/bcachefs-clevis-systemd 2024-04-07 22:51:56 +02:00
Benjamin Lee
e9fed4bcad
nixos/soju: add tests
For now, just try creating a user with sojuctl. Actually connecting an
irc client is pretty annoying.
2024-04-07 13:45:47 -07:00
Benjamin Lee
d772ac182f
nixos/soju: add sojuctl wrapper with config path
The config is a in an arbitrary nix store path, and is necessary to
invoke sojuctl. Without the wrapper, you have to read the systemd unit
or use a similar trick to find it.
2024-04-07 13:45:47 -07:00
Benjamin Lee
5207bb723a
nixos/soju: add adminSocket.enable option 2024-04-07 13:45:19 -07:00
Benjamin Lee
4959d7bcd8
nixos/soju: add package option 2024-04-07 13:45:17 -07:00
Mario Rodas
5d58ded833
Merge pull request #298692 from SebTM/auto-update/fzf
fzf: 0.47.0 -> 0.48.1
2024-04-07 14:42:45 -05:00
Anthony Roussel
9a03f2ca13
nixos/oddjobd: enable oddjob dbus service 2024-04-07 20:29:22 +02:00
Anthony Roussel
b0f78fba37
nixosTests.oddjobd: init 2024-04-07 20:29:21 +02:00
Weijia Wang
0f58ce3b44
Merge pull request #300487 from davidkna/kavita-token
nixos/kavita: document new `tokenKeyFile` requirements
2024-04-07 19:27:34 +02:00
Sandro Jäckel
15f795e391
nixos/plasma6: don't add kio's KCMs to systemsettings
which fail to load anyway
2024-04-07 19:24:04 +02:00
Jörg Thalheim
1155526bf8
Merge pull request #298896 from JohnRTitor/master
nixos/hyprland: Add systemd.setPath.enable option to include system and user bin directory in PATH
2024-04-07 18:44:47 +02:00
Aleksana
48a26791f1
Merge pull request #296759 from jpds/thanos-grpc-compression-opt
nixos/thanos: Added grpc-compression option
2024-04-08 00:43:07 +08:00
Sandro
0f3f375722
Merge pull request #282912 from phaer/healthchecks-update
healthchecks: 2.10 -> 3.3
2024-04-07 18:01:20 +02:00
Guanran Wang
1603e263f3
mihomo: use correct github homepage branch 2024-04-07 21:49:15 +08:00
Guanran Wang
63c0c98167
nixos/mihomo: fix option description 2024-04-07 21:47:03 +08:00
Mario Rodas
9d27034eba nixos/fzf: fix fish shell commmand 2024-04-07 04:20:00 +00:00
Albert Safin
9b383de757 bind: allow recursive queries from IPv6 loopback 2024-04-07 01:14:38 +00:00
Oliver Schmidt
694bef76b9 nixos/logrotate docs: clarify settings
I found the description text of the freeform settings a bit unclear
regarding the priority and ordering of sections:
It was not immediately clear to me that the `priority` was a NixOS
module-level sub option instead of a logrotate-native configuration
directive.

To clarify this, I extend the examples and higlight `priority` as a
module option.
2024-04-07 00:23:39 +02:00