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

nixos/snapper: Don't create broken snapper-boot.service #320673

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Jun 18, 2024

Description of changes

If services.snapper.snapshotRootOnBoot is disabled (the default), the NixOS snapper module still creates an empty and invalid systemd service for snapper-boot. This PR fixes it.

cc: @markuskowa @Artturin

Things done

  • Added a check in the snapper nixos test

Add a 👍 reaction to pull requests you find important.

@Artturin
Copy link
Member

@ofborg build nixosTests.snapper

@Artturin Artturin merged commit 7324a17 into NixOS:master Jun 19, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants