about summary refs log tree commit diff
path: root/nixos/modules
AgeCommit message (Collapse)AuthorFilesLines
2024-06-07Merge pull request #316275 from OPNA2608/fix/lomiri-xkb-layoutCosima Neidahl1-0/+4
lomiri.lomiri: Try to consider services.xserver.xkb.layout
2024-06-07nixos/ddclient: deprecate `use`, implement `use{v4,v6}`Thomas Churchman1-2/+20
Upstream replaced `use` with `use{v4,v6}`: https://github.com/ddclient/ddclient/blob/4a1b06630b90b3e6ff1d837b849bdbc68a2f53f9/ChangeLog.md#new-features
2024-06-07Merge pull request #316240 from OPNA2608/init/lomiri/lomiri-filemanager-appPol Dellaiera1-0/+1
lomiri.lomiri-filemanager-app: init at 1.0.4
2024-06-07Merge pull request #312863 from Mic92/netbootJörg Thalheim1-5/+0
netboot: drop syslinux and grub (10% savings for nixos-anywhere images)
2024-06-07nixos/lomiri: Add file managerOPNA26081-0/+1
2024-06-07nixos/opengl: fix typoK9001-1/+1
2024-06-07nixos/inadyn: fix cache directory pathKeith Pine1-1/+1
The CacheDirectory subdirectory is already part of $CACHE_DIRECTORY.
2024-06-07nixos/netbird: fix defaults (#314656)PatrickDaG2-7/+33
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-06Merge pull request #317785 from drupol/nixos-boot-use-replace-failFlorian Klink1-1/+1
nixos/boot: use `--replace-fail`
2024-06-06Merge pull request #317585 from SuperSandro2000/opengl-tmpfiles-settingsK9001-36/+33
nixos/opengl: use systemd.tmpfiles.settings
2024-06-06nixos/boot: use `--replace-fail`Pol Dellaiera1-1/+1
2024-06-06Merge pull request #317047 from bobby285271/upd/pantheon-unset-qt-envBobby Rong1-5/+0
nixos/pantheon: Do not set QT_QPA_PLATFORMTHEME
2024-06-06virtualbox guest module: `draganddrop` became `dragAndDrop` (#317756)Arnout Engelen1-1/+3
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-06Merge pull request #291552 from SuperSandro2000/bash-completion-package-optionSandro4-8/+14
2024-06-06nixos/bash-completion: move options to programs.bash.completion, add package ↵Sandro Jäckel4-8/+14
option, drop with lib This allows to easily test bash-completion updates without triggering a mass rebuild locally.
2024-06-06nixos/quickwit: init moduleJonathan Davies2-0/+191
2024-06-06nixos/opengl: use systemd.tmpfiles.settingsSandro Jäckel1-8/+7
I want to use the final symlinked package in system.checks and need to access that somehow. Instead of adding a new option, we might as well convert tmpfiles to the new structure.
2024-06-06nixos/opengl: remove with lib over entire fileSandro Jäckel1-28/+26
2024-06-05nixos/oci-containers: add preRunExtraOptions (#315356)tomf1-1/+10
`podman --help` and `docker --help` each have global options, that must be specified before `run`.
2024-06-05Merge pull request #317428 from a-kenji/virtualbox-host-typoBobby Rong1-1/+1
nixos/virtualbox-host: fix typo in assertion
2024-06-05Merge pull request #312523 from emilylange/nixos-forgejo-secretsAdam C. Stephens1-70/+109
nixos/forgejo: refactor secrets, add `cfg.secrets`, forgejo: build `environment-to-ini`, nixos/tests/forgejo: test `cfg.secrets` using /metrics endpoint
2024-06-05nixos/virtualbox-host: fix typo in assertiona-kenji1-1/+1
2024-06-05openssh: move Kerberos support into a dedicated packageThomas Gerbet1-0/+4
The `openssh` and `openssh_hpn` packages are now built without the Kerberos support by default in an effort to reduce the attack surface. The Kerberos support is likely used only by a fraction of the total users (I'm guessing mainly users integrating SSH in an Active Directory env) so dropping it should not impact too many users. It should also be noted that the Kerberos/GSSAPI auth is disabled by default in the configuration. `opensshWithKerberos` and `openssh_hpnWithKerberos` are added in order to provide an easy migration path for users needing this support. The `openssh_gssapi` package is kept untouched.
2024-06-05Merge pull request #316168 from dawidd6/systemd-user-generatorsFlorian Klink2-5/+18
nixos/systemd: link user-generators
2024-06-05Merge pull request #315827 from JohnRTitor/hyprland-moduleJörg Thalheim4-6/+18
nixos/{hyprland, wayland-common}: disable wlr portal for hyprland, enable xdg autostart for all wayland compositors
2024-06-05Merge pull request #317286 from drupol/open-webui-add-more-envPol Dellaiera2-22/+46
nixos/{ollama,open-webui}: minor service update
2024-06-05nixos/open-webui: update options default valuesPol Dellaiera1-2/+6
2024-06-05nixos/open-webui: add example in optionsPol Dellaiera1-1/+4
2024-06-05nixos/open-webui: remove `preStart` stepPol Dellaiera1-6/+2
nixos/open-webui: remove `preStart` step
2024-06-05nixos/open-webui: update option and service descriptionsPol Dellaiera1-6/+10
2024-06-05nixos/open-webui: add `openFirewall` optionPol Dellaiera1-0/+11
2024-06-05nixos/ollama: update `port` option, use `types.port`Pol Dellaiera1-7/+3
2024-06-05nixos/ollama: add `openFirewall` optionPol Dellaiera1-0/+10
2024-06-05nixos/forgejo: refactor secrets, add `cfg.secrets`emilylange1-70/+109
This is not a breaking change. Existing setups continue to work as-is. Users of `cfg.mailerPasswordFile` will get an option rename/deprecation warning, but that's it (assuming there is no regression). This adds `cfg.secrets`, which is a wrapper over systemd's `LoadCredential=` leveraging Forgejo's `environment-to-ini`. `environment-to-ini` is intended for configuring Forgejo in OCI containers. It requires some fairly annoying escaping of the section names to fit into the allowed environment variable charset. E.g. `"log.console".COLORIZE = false` becomes `FORGEJO__LOG_0x2E_CONSOLE__COLORIZE=false`. - `.` needs to be replaced with `_0X2E_` and - `-` needs to be replaced with `_0X2D_` Those are simply the hex representation of each char from an ASCII table: . = ASCII 46 = 46 (decimal) = 2E (hex) = 0x2E = _OX2E_ To make interacting with `environment-to-ini` less annoying, we template and escape the sections/keys in nix: `cfg.secrets` takes the same free-form sections/keys as `cfg.settings`. Meaning there is now a generalized abstraction for all keys, not just those that have been manually implemented in the past. It goes as far as theoretically allowing one to have `DEFAULT.APP_NAME` read from a secret file. I don't know why one would want to do that, but it has been made possible by this :^) More reasonable examples are listed in the `cfg.secrets` option example. We also continue to bootstrap a handful of secrets like `security.SECRET_KEY`. This is done is a sort of sidecar bootstrap unit fittingly called `forgejo-secrets.service`. Overriding those is, just like before, not really intended and requires the use of `lib.mkForce` and might lead to breakage. But it is, in a way, more possible than before.
2024-06-04Merge pull request #314890 from danielbarter/repart-image-fixnikstur1-3/+1
repart-image: remove --map-root-user flag from unshare
2024-06-04Merge pull request #317038 from abmantis/patch-5Nick Cao1-1/+1
nixos/nvidia-optimus: add nvidia-modeset to blacklist
2024-06-04Merge pull request #317257 from arianvp/stephank-fix-acme2Arian van Putten1-1/+1
nixos/acme: allow setting security.acme.defaults.server = null to keep old accounts directory
2024-06-04Merge pull request #317268 from SuperSandro2000/plasma6-cupsK9001-2/+2
nixos/plasma6: make print-manager depend on cups
2024-06-04Merge pull request #316004 from Ma27/nc-memlimitMaximilian Bosch1-1/+17
nixos/nextcloud: make memory_limit of nextcloud-cron configurable
2024-06-04nixos/plasma6: make print-manager depend on cupsSandro Jäckel1-2/+2
2024-06-04nixos/acme: allow setting security.acme.defaults.server = null to keep old ↵Stéphan Kochen1-1/+1
accounts directory The accounts directory is based on the hash of the settings. https://github.com/NixOS/nixpkgs/pull/270221 changed the default of security.acme.defaults.server from null to the default letsencrypt URL however as an unwanted side effect this means the accounts directory changes and the ACME module will create a new a new account. This can cause issues with people using CAA records that pin the account ID or people who have datacenter-scale NixOS deployments We allow setting this option to null again for people who want to keep the old account and migrate at their own leisure. Fixes https://github.com/NixOS/nixpkgs/issues/316608 Co-authored-by: Arian van Putten <arian.vanputten@gmail.com>
2024-06-04Merge pull request #316248 from shivaraj-bh/open-webuiPol Dellaiera2-0/+95
open-webui: init at 0.2.4
2024-06-04nixos/open-webui: initshivaraj-bh2-0/+95
2024-06-04netboot: drop syslinux and grubJörg Thalheim1-5/+0
The comment says this is required by other modules but to be honest, I cannot see where. Bootloaders will be included automatically by nixos generation if their `installBootLoader` attribute references it. This helps us to make kexec images even smaller espeically when combined with the perlless profile.
2024-06-04Merge pull request #314695 from nonetrix/patch-1Bobby Rong1-1/+1
nixos/xdg/portal: Fix typo
2024-06-03repart-image: removing unshare (and util-linux dep) form systemd-repart ↵Daniel Barter1-3/+1
invocation ..
2024-06-04nixos/pantheon: Do not set QT_QPA_PLATFORMTHEMEBobby Rong1-5/+0
https://github.com/elementary/default-settings/commit/7aa79d47f7624b55f38e5392747452a90ac4cc89 Closes #316991
2024-06-03nixos/nvidia-optimus: add nvidia-modeset to blacklistAbílio Costa1-1/+1
The nvidia-modeset module is loaded, which in turn pulls in the nvidia module. This makes bbswitch fail to turn off the card since it would be in use by the module.
2024-06-03Merge pull request #316879 from SuperSandro2000/mkEnableOptionSandro5-5/+5
2024-06-03nixos/installation-cd-plasma5: fix even more aliasesSandro Jäckel2-3/+3