]> Untitled Git - MarigoldOS/.git/blob - profiles/charm.nix
more 0x00 stuff moved over
[MarigoldOS/.git] / profiles / charm.nix
1 { pkgs, config, ... }:
2 let
3     fqdn = "charm.${config.networking.hostName}.${config.networking.domain}";
4 in {
5   services.charm.enable = true;
6   environment.systemPackages = [
7     pkgs.charm
8   ];
9   environment.variables = {
10     CHARM_HOST = "${config.networking.fqdn}";
11   };
12   networking.hosts = {
13     "127.0.0.1" = [ "${fqdn}" ];
14   };
15 }