about summary refs log tree commit diff
path: root/nixos/modules/programs
AgeCommit message (Collapse)AuthorFilesLines
2022-08-05Merge pull request #185056 from pennae/option-docs-mdpennae9-25/+24
nixos/*: more option docs conversions
2022-08-03Merge pull request #184027 from Shawn8901/installNoisetorchWithProgramJonas Heinrich1-1/+3
noisetorch: Add noisetorch to systemPackages with programs.noisetorch enable
2022-08-03nixos/*: automatically convert option docs to MDpennae6-20/+20
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
2022-08-03nixos/*: normalize link formatpennae1-1/+1
make (almost) all links appear on only a single line, with no unnecessary whitespace, using double quotes for attributes. this lets us automatically convert them to markdown easily. the few remaining links are extremely long link in a gnome module, we'll come back to those at a later date.
2022-08-03nixos/*: replace <replaceable>s with «thing»pennae1-1/+1
we can't embed syntactic annotations of this kind in markdown code blocks without yet another extension. replaceable is rare enough to make this not much worth it, so we'll go with «thing» instead. the module system already uses this format for its placeholder names in attrsOf paths.
2022-08-03nixos/*: replace <code> in option docs with <literal>pennae6-6/+6
markdown can't represent the difference without another extension and both the html manual and the manpage render them the same, so keeping the distinction is not very useful on its own. with the distinction removed we can automatically convert many options that use <code> tags to markdown. the manpage remains unchanged, html manual does not render differently (but class names on code tags do change from "code" to "literal").
2022-08-03nixos/*: replace </para><para> with double linebreakspennae1-2/+1
our xslt already replaces double line breaks with a paragraph close and reopen. not using explicit para tags lets nix-doc-munge convert more descriptions losslessly. only whitespace changes to generated documents, except for two strongswan options gaining paragraph two breaks they arguably should've had anyway.
2022-07-30noisetorch: Add noisetorch to systemPackages with programs.noisetorch.enableShawn89011-1/+3
2022-07-30treewide: automatically md-convert option descriptionspennae65-249/+249
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-07-24nixos/programs: invariant option docs MD conversionspennae9-74/+74
2022-07-16nixos/streamdeck-ui: initMajiir Paktu1-0/+28
2022-07-17Merge pull request #172058 from midchildan/improvement/1pw-gidSandro2-20/+14
nixos/_1password{,-gui}: use a static gid
2022-07-14treewide: Drop myself as maintainer for some packages I don't useElis Hirwing1-1/+1
2022-07-05nixos/qt5ct: remove enable option and suggests qt5.platformThemeJosé Romildo1-26/+4
This module should be removed after a nixos release cycle
2022-06-26nixos/xfconf: initJosé Romildo2-1/+29
- Add a module for xfconf, the Xfce configuration storage system.
2022-06-26nixos/thunar: initJosé Romildo1-0/+44
- Add a module for the thunar file manager, which depends on the xfconf dbus service, and also has a dbus service and a systemd unit. - Renames the option services.xserver.desktopManager.xfce.thunarPlugins to programs.thunar.plugins.
2022-06-18{nixos/,}clickshare-csc1: remove (prepare Qt4 removal)Yarny01-21/+0
Qt4 is on it's way out, according to https://github.com/NixOS/nixpkgs/pull/174634 Barco's ClickShare driver/client requires Qt4; an update isn't in sight anywhere. To prepare for the removal of Qt4, the commit at hand removes the ClickShare package and its NixOS module. The release notes are appended with a hint about the removal and some alternatives that might help users that are still in need of the driver/client functionality.
2022-06-12nixos/openvpn3: add enable optionKFears1-0/+33
2022-06-11Merge pull request #165780 from OPNA2608/init/haguichiSandro1-0/+15
haguichi: init at 1.4.5
2022-06-08nixos/kdeconnect: remove alias from default packageSandro1-2/+2
2022-06-07treewide: remove usage of runCommandNoCC aliasesSandro Jäckel1-1/+1
2022-05-31nixos/atop: Convert log format to fix service startKlemens Nanni1-0/+18
Raw logs are stored in a versioned binary format and must be update with atopconvert(1) upon atop version updates. Failure to do so results in atop.service startup failure as I found out the hard way after the "atop: 2.6.0 -> 2.7.1"[0] bump: ``` May 31 01:49:25 <hostname> sh[2269709]: existing file /var/log/atop/atop_20220531 has incompatible header May 31 01:49:25 <hostname> sh[2269709]: (created by version 2.6 - current version 2.7) May 31 01:49:25 <hostname> systemd[1]: atop.service: Main process exited, code=exited, status=7/NOTRUNNING ``` Convert logs in `ExecStartPre` and replace them iff updated. This is to avoid changing original modification times upon every service start and thus work against atop's log rotation (see existing `ExecStartPre`). 0: https://github.com/NixOS/nixpkgs/pull/175180#issuecomment-1141546487
2022-05-26Merge pull request #147232 from mkg20001/zen-tweaksMaciej Krüger1-0/+28
2022-05-18nixos/gnupg: default to a reasonable pinentry program on headless systemsSandro1-1/+1
2022-05-15nix-ld: 1.0.0 -> 1.0.2Jörg Thalheim1-3/+1
2022-05-15nixos/_1password{,-gui}: use a static gidmidchildan2-20/+14
2022-05-06programs/phosh: merge into services/x11/desktop-managers/phoshTom Fitzhenry1-162/+0
2022-05-04Revert "networkmanager-applet: rename from networkmanagerapplet"Jan Tojnar1-1/+1
network-manager-applet uses differrent naming scheme from the VPN plug-ins. Let’s revert to the previous state, for now, to fix eval. We can do the rename later. This reverts commit cecb014d5daeb8b0c75361ed8ba89d9e84279c8e.
2022-05-04Merge pull request #170952 from SuperSandro2000/firewalldSandro1-1/+1
firewalld: init at 1.1.1
2022-05-01nixos/thefuck: rename variable and move fishInitScript into its own variableLuflosi1-6/+7
Renaming the variable from `initScript` to `bashAndZshInitScript` makes it clearer, what it is actually used for. Moving the fish init script right below the other call to `thefuck --alias` makes it more obvious, when one of them is different in some important way.
2022-05-01nixos/thefuck: fix programs.thefuck.alias for fishLuflosi1-1/+1
This option was previously ignored when using fish as the shell.
2022-04-30nixos/k3b: init. Fixes #19154 missing permissions for k3bNiklaus Giger1-0/+52
2022-04-30networkmanager-applet: rename from networkmanagerappletSandro Jäckel1-1/+1
2022-04-23nixos/haguichi: initOPNA26081-0/+15
2022-04-17Merge pull request #167051 from pacien/ssmtp-removalJanne Heß1-190/+0
ssmtp: drop unmaintained program and module
2022-04-17nixos/mininet: telnet → inetutilsRyan Lahfa1-2/+2
This fixes the usage of mininet on NixOS due to the replacement of the telnet package by inetutils.
2022-04-17nixos/ssmtp: drop modulepacien1-190/+0
The ssmtp program is not maintained and is being removed. GitHub: see https://github.com/NixOS/nixpkgs/issues/105710
2022-04-15Merge pull request #129304 from yisraeldov/patch-1Mario Rodas1-0/+3
programs.chromium: fix policies for brave
2022-04-09programs/nethoscope: add security.wrapper0x4A6F1-0/+30
2022-04-05Merge pull request #164800 from pennae/ssh-knownhosts-hostnamesSilvan Mosberger1-7/+18
nixos/ssh: undeprecate knownHosts.«name».hostNames
2022-04-03Merge pull request #136040 from xaverdh/adb-openMichael Weiss1-2/+1
nixos/adb: switch to android-tools built from source
2022-03-30nixos/_1password: cleanupCole Helbling1-14/+12
* Change groupId to gid to align with the rest of NixOS modules * Add a check to the gid option to ensure it is greater than or equal to 1000
2022-03-30nixos/_1password-gui: cleanupCole Helbling1-32/+31
* Change groupId to gid to align with the rest of NixOS modules * Add a check to the gid option to ensure it is greater than or equal to 1000 * Use the overridden package for the wrappers
2022-03-26nixos/_1password: initMichael Hoang1-0/+46
2022-03-25Merge pull request #165479 from savannidgerinel/savanni/1password-browsersupportmaxine [they]1-0/+69
nixos/1password-gui: init at 8.6.0
2022-03-25nixos: init programs/nncp moduleEmery Hemingway1-0/+101
The NNCP utilities read a configuration at "/etc/nncp.hjson" by default. Add a NixOS module for generating this configuration.
2022-03-24nixos/1password-gui: init at 8.6.0Savanni D'Gerinel1-0/+69
Browser Integration requires setgid and setuid programs, which needs to be done in the system configuration. This is cleaner than the ad-hoc ways we have to set things up for platforms without a global configuration file.
2022-03-21Merge pull request #164260 from Mic92/nix-ldJörg Thalheim1-0/+12
nix-ld: init at 1.0.0 + nixos module
2022-03-21nix-ld: init at 1.0.0 + nixos moduleJörg Thalheim1-0/+12
2022-03-19nixos/ssh: undeprecate knownHosts.«name».hostNamespennae1-7/+18
hostNames being deprecated makes configuring hosts with multiple keys a pain. including the attr name of the entry in the host name list is a nice convenience though, so we'll retain it and clarify the documentation on how the actual host name list for an entry is put together.