blob: 364fd4b191cfc082bbd71ab1e7732454e2c03cf7 (
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
}
|