this post was submitted on 11 Apr 2024
5 points (100.0% liked)
Nix / NixOS
1789 readers
6 users here now
Main links
Videos
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can use
environment.etc
to manage a file in/etc
: https://search.nixos.org/options?show=environment.etc.That seems to work - at least I can get the file to appear. Now I only have get k3s working.
Tot do that you need to start a systems service.
systemd.services.k3s = { ... }
These are the options you can set. You can inspire yourself from an existing module like deluge.
However, there already is module for k3s! All you need to do is set the options in your
Anti Commercial-AI license