nixpkgs-suyu/nixos/modules/programs
Klemens Nanni 09350ff7d4 nixos/atop: Convert log format to fix service start
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-31 07:21:01 +02:00
..
bash modules/programs/bash: Fix ShellCheck warnings 2021-09-06 08:49:34 +09:00
command-not-found Merge pull request #155162 from ZenithalHourlyRate/command-not-found-interactive 2022-02-08 15:30:05 -08:00
digitalbitbox nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
zsh nixos/zsh-autosuggestions: ZSH_AUTOSUGGEST_STRATEGY array 2022-03-07 16:29:00 +00:00
_1password-gui.nix nixos/_1password-gui: cleanup 2022-03-30 08:23:27 -07:00
_1password.nix nixos/_1password: cleanup 2022-03-30 08:23:27 -07:00
adb.nix nixos/adb: switch to android-tools built from source 2021-08-28 17:22:46 +02:00
appgate-sdp.nix appgate-sdp: minimize and improve derivation 2021-06-24 11:22:54 +02:00
atop.nix nixos/atop: Convert log format to fix service start 2022-05-31 07:21:01 +02:00
autojump.nix
bandwhich.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
bash-my-aws.nix
bcc.nix bcc: move from linux-kernels packages to normal packages 2021-12-04 21:07:09 +09:00
browserpass.nix
calls.nix programs/calls: enable dconf 2022-02-07 22:50:36 +01:00
captive-browser.nix nixos/captive-browser: add to menu bar 2022-03-13 20:22:00 +08:00
ccache.nix nixos: make setgid wrappers root-owned 2021-10-03 11:44:57 +02:00
cdemu.nix
cfs-zen-tweaks.nix nixos/cfs-zen-tweaks: init 2021-12-04 13:06:22 +01:00
chromium.nix Merge pull request #129304 from yisraeldov/patch-1 2022-04-15 22:08:43 -05:00
clickshare.nix
cnping.nix nixos/cnping: init 2021-10-14 21:27:38 +03:00
criu.nix
dconf.nix nixos: make GIO_EXTRA_MODULES a session variable 2022-01-21 00:44:35 +01:00
dmrconfig.nix nixos/make-options-doc: turn relatedPackages into links 2022-01-02 19:46:13 +01:00
droidcam.nix
environment.nix nixos/environment: add GTK paths to pathsToLink 2022-03-14 18:01:16 +01:00
evince.nix nixos/evince: add option for specify package 2021-10-17 11:42:22 +08:00
extra-container.nix nixos/extra-container: init 2021-09-30 22:52:14 +02:00
feedbackd.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
file-roller.nix nixos/file-roller: add option for specify package 2021-10-22 10:26:27 +08:00
firejail.nix nixos/firejail: Fix order of extrsArgs before profile wrappedBinaries option 2022-03-03 21:35:37 -05:00
fish.nix
fish_completion-generator.patch
flashrom.nix flashrom: Install udev-rules file 2021-06-30 03:43:35 +02:00
flexoptix-app.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
freetds.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
fuse.nix
gamemode.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
geary.nix
git.nix nixos/git: change config type 2021-10-16 22:39:56 -04:00
gnome-disks.nix
gnome-documents.nix
gnome-terminal.nix
gnupg.nix nixos/gnupg: default to a reasonable pinentry program on headless systems 2022-05-18 18:31:34 +02:00
gpaste.nix
gphoto2.nix
hamster.nix nixos/hamster: fix programs.hamster.enable text 2021-07-04 23:18:23 +02:00
htop.nix nixos/htop: add module 2021-10-05 06:00:43 +02:00
iftop.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
iotop.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
java.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
k3b.nix nixos/k3b: init. Fixes #19154 missing permissions for k3b 2022-04-30 13:18:40 +02:00
k40-whisperer.nix nixos/k40-whisperer: module init 2022-02-24 16:03:09 +01:00
kbdlight.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
kclock.nix nixos/kclock: integrate with dbus 2022-03-05 12:38:36 +01:00
kdeconnect.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
less.nix less: improve default settings (#139988) 2021-10-05 11:13:48 +02:00
liboping.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
light.nix
mininet.nix nixos/mininet: telnet → inetutils 2022-04-17 02:46:33 +02:00
mosh.nix nixos: make setgid wrappers root-owned 2021-10-03 11:44:57 +02:00
msmtp.nix nixos: add implict security.wrappers options 2021-09-13 13:48:13 +02:00
mtr.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
nano.nix
nbd.nix nbd: add programs.nbd, services.nbd, and test 2022-03-09 12:00:47 +00:00
neovim.nix nixos/neovim: fix withRuby, add with{Python3,NodeJs} 2021-11-07 19:40:07 +01:00
nethoscope.nix programs/nethoscope: add security.wrapper 2022-04-09 16:50:13 +02:00
nix-ld.nix nix-ld: 1.0.0 -> 1.0.2 2022-05-15 21:06:05 +02:00
nm-applet.nix Revert "networkmanager-applet: rename from networkmanagerapplet" 2022-05-04 23:29:42 +02:00
nncp.nix nixos: init programs/nncp module 2022-03-25 16:30:13 +00:00
noisetorch.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
npm.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
oblogout.nix
pantheon-tweaks.nix nixos/pantheon-tweaks: init 2021-09-18 22:49:53 +08:00
partition-manager.nix
plotinus.nix nixos/plotinus: fix evaluation 2021-09-22 15:53:29 +02:00
plotinus.xml
proxychains.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
qt5ct.nix qt5ct: move to qt5-packages 2021-12-27 11:03:07 -03:00
screen.nix
seahorse.nix
sedutil.nix
shadow.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
singularity.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
slock.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
spacefm.nix nixos/modules/programs/spacefm: remove gksu dependency 2022-01-29 18:09:15 +01:00
ssh.nix nixos/ssh: undeprecate knownHosts.«name».hostNames 2022-03-19 01:36:59 +01:00
starship.nix nixos/starship: init 2022-01-12 15:47:08 +00:00
steam.nix
sway.nix nixos/sway: enable polkit 2022-01-27 01:45:45 +01:00
sysdig.nix
system-config-printer.nix
systemtap.nix
thefuck.nix nixos/thefuck: rename variable and move fishInitScript into its own variable 2022-05-01 18:08:36 +02:00
tmux.nix nixos/programs/tmux: specify wanted plugins 2022-01-25 17:12:44 -05:00
traceroute.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
tsm-client.nix nixos/tsm-{client,backup}: use new type nonEmptyStr 2022-01-17 12:09:27 +01:00
turbovnc.nix
udevil.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
usbtop.nix
vim.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
virtualbox.nix
wavemon.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
waybar.nix
weylus.nix nixos/weylus: init 2021-09-02 06:33:23 -06:00
wireshark.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
wshowkeys.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
xfs_quota.nix
xonsh.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
xss-lock.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
xwayland.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
yabar.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
zmap.nix