diff --git a/.i3status.conf b/files/.i3status.conf similarity index 100% rename from .i3status.conf rename to files/.i3status.conf diff --git a/files/traefik.toml b/files/traefik.toml new file mode 100644 index 0000000..a932137 --- /dev/null +++ b/files/traefik.toml @@ -0,0 +1,17 @@ +logLevel = "INFO" +defaultEntryPoints = ["http", "https"] + +[web] +address = ":8080" + +# [entryPoints] +# [entryPoints.http] +# address = ":80" +# [entryPoints.https] +# address = ":443" +# [entryPoints.https.tls] + +[docker] +domain = "test" +watch = true +network = "traefik" \ No newline at end of file diff --git a/home.nix b/home.nix index fea56d6..c97d62d 100644 --- a/home.nix +++ b/home.nix @@ -5,25 +5,9 @@ let in { home.stateVersion = "22.05"; - home.file.".config/traefik/traefik.toml".text = '' -logLevel = "INFO" -defaultEntryPoints = ["http", "https"] -[web] -address = ":8080" - -# [entryPoints] -# [entryPoints.http] -# address = ":80" -# [entryPoints.https] -# address = ":443" -# [entryPoints.https.tls] - -[docker] -domain = "test" -watch = true -network = "traefik" - ''; + home.file.".i3status.conf".source = ./files/.i3status.conf; + home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml; home.packages = with pkgs; [ latest.wget