Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nixos-module.nix #747

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Update nixos-module.nix #747

merged 1 commit into from
Oct 16, 2023

Conversation

andreyadrian
Copy link
Contributor

@andreyadrian andreyadrian commented Oct 16, 2023

flipping serviceConfig.Restart to "yes"

In nixos theres problems because the service is not restarting by default, and have to unplug/replug, or completely reboot the computer.

flipping serviceConfig.Restart to "yes"
@slotThe
Copy link
Member

slotThe commented Oct 16, 2023

I suppose this should be free of unintended consequences—thanks!

@slotThe slotThe merged commit 1b79c5d into kmonad:master Oct 16, 2023
@jooooscha
Copy link

I get the following error on rebuilding my config:

error: A definition for option `systemd.services.<...>.serviceConfig' is not of type `attribute set of (systemd option)'. Definition values:
       - In `/nix/store/dg9njr183vi6hmayn56wk7ls203yr8ki-source/nix/nixos-module.nix':
           {
             Nice = -20;
             Restart = "yes";
             SupplementaryGroups = [
               "input"
           ...

I think "yes" is not a valid value for the Restart= config option. See man

Instead of yes this should be changed to always

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants