blob: d2f36e0f54a46dbdc2fd3f400d8c00528bdef00f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ osConfig, ... }:
let
host = osConfig.networking.hostName;
hostFile = ../foot/hosts + "/${host}.ini";
in {
xdg.configFile."foot/foot.ini".source = ../foot/foot.ini;
xdg.configFile."foot/host.ini".source =
if builtins.pathExists hostFile
then hostFile
else ../foot/hosts/default.ini;
}
|