refactor: move dotfiles into files + symlink from home-manager

This commit is contained in:
Pierre Martin
2022-09-02 02:36:05 +02:00
parent c8ea58bd99
commit cfc7255631
3 changed files with 19 additions and 18 deletions

17
files/traefik.toml Normal file
View File

@@ -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"

View File

@@ -5,25 +5,9 @@ let
in in
{ {
home.stateVersion = "22.05"; home.stateVersion = "22.05";
home.file.".config/traefik/traefik.toml".text = ''
logLevel = "INFO"
defaultEntryPoints = ["http", "https"]
[web] home.file.".i3status.conf".source = ./files/.i3status.conf;
address = ":8080" home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
# [entryPoints]
# [entryPoints.http]
# address = ":80"
# [entryPoints.https]
# address = ":443"
# [entryPoints.https.tls]
[docker]
domain = "test"
watch = true
network = "traefik"
'';
home.packages = with pkgs; [ home.packages = with pkgs; [
latest.wget latest.wget