system/tailscale: persist tailscale state
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
0edeac9f4c
commit
939d0cc861
5 changed files with 17 additions and 1 deletions
9
modules/binds.nix
Normal file
9
modules/binds.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ...}: {
|
||||
imports = [ ./options.nix ];
|
||||
fileSystems = lib.mapAttrs (dest: key: {
|
||||
depends = [ "/persist" ];
|
||||
device = "/persist/binds/${key}";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
}) config.me.binds;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue