nixpkgs/nixos/modules/system
Janne Heß b52372675d
nixos/switch-to-configuration: Clean up lower part of the script
- Fully get rid of `parseKeyValues` and use systemctl features for that
- Add some regex modifiers recommended by perlcritic
- Get rid of a postfix if
- Sort units when showing their status
- Clean the logic for showing what failed from `elif` to `next`
- Switch from `state` to `substate` for `auto-restart` because that's
  actually where the value is stored
- Show status of units with one single systemctl call and get rid of
  COLUMNS in favor of --full
- Add a test for failing units
2022-01-20 17:10:02 +01:00
..
activation nixos/switch-to-configuration: Clean up lower part of the script 2022-01-20 17:10:02 +01:00
boot Merge pull request #150408 from Enzime/systemd-boot-extra-entries 2022-01-13 07:15:05 +00:00
etc lib.modules: add mkDerivedConfig 2021-11-15 07:03:41 -05:00