diff options
author | Artturi <Artturin@artturin.com> | 2022-05-07 17:40:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 17:40:52 +0300 |
commit | 1d09b16b0c04afef4dbc340ce34339c953b80232 (patch) | |
tree | dc4c3ad0d29889368e451e0d3071cf7f61ba13bd /nixos | |
parent | d8cee34f7588e427ca191ed8bdf436c0b9de806b (diff) | |
parent | fd3d1a834bb17fc76c89175e8aa690bbf21f8b04 (diff) | |
download | nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar.gz nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar.bz2 nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar.lz nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar.xz nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.tar.zst nixpkgs-1d09b16b0c04afef4dbc340ce34339c953b80232.zip |
Merge pull request #171709 from avdv/fix-illum-segfault-and-restart
illum: Prevent segfault when unplugging keyboards
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/hardware/illum.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/illum.nix b/nixos/modules/services/hardware/illum.nix index ff73c99a653..7f7a8500023 100644 --- a/nixos/modules/services/hardware/illum.nix +++ b/nixos/modules/services/hardware/illum.nix @@ -28,6 +28,7 @@ in { description = "Backlight Adjustment Service"; wantedBy = [ "multi-user.target" ]; serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d"; + serviceConfig.Restart = "on-failure"; }; }; |