1

Hi! I ran into the issue that my kube config, which I manage with home-manager is world read- and writable. I hoped that there is an easy option to set file permissions with home-manager, e.g. home.file."foo".permissions = 0644 but something like this does not exist. All solutions a short web search turns up are overly complicated for something that seems to be a trivial task.

What is the easiest way to set permissions for a file with home-manager?

no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 21 Apr 2024
1 points (100.0% liked)

Nix / NixOS

2860 readers
16 users here now

Main links

Videos

founded 3 years ago
MODERATORS