feat: set up sshfs on deimos

This commit is contained in:
Nick 2025-06-25 18:28:16 -05:00
parent 27781d3d0f
commit 2b4ad99e25
8 changed files with 54 additions and 8 deletions

View file

@ -1,3 +1,8 @@
{ flake, osConfig, ... }:
let
inherit (flake.config.machines.devices) deimos;
hostname = osConfig.networking.hostName;
in
{
services.wpaperd = {
enable = true;
@ -7,7 +12,7 @@
apply-shadow = true;
duration = "1m";
sorting = "random";
};
} // (if hostname == deimos.name then { mode = "center"; } else { });
};
};
}