Skip to content

The option `systemd.tmpfiles.settings.preservation."...".d.mode' has conflicting definition values: #20

Description

@nazarewk

I have recently updated the preservation in my repository where I had implemented intermediate user directories for a while already https://github.com/nazarewk-iac/nix-configs/blob/3538bc37a4b9f7aa1525ff50fb628c1603c7c8cf/modules/nixos/hw/disks/config.nix

I am defaulting to 0750 home directories and I started getting this error:

       error: The option `systemd.tmpfiles.settings.preservation."/home/kdn/.local/share/bottles".d.mode' has conflicting definition values:
       - In `/nix/store/1xq4n97cms68kqxiww3i0hczajfnc0ys-source/module.nix': "0750"
       - In `/nix/store/1xq4n97cms68kqxiww3i0hczajfnc0ys-source/module.nix': "0755"
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.

The diff from previous flake locked version is 286737b...93416f4

I do suspect this to be the culprit

mode = "0755";
, but I'm still digging into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions