refactor: move dotfiles into files + symlink from home-manager
This commit is contained in:
17
files/traefik.toml
Normal file
17
files/traefik.toml
Normal 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"
|
||||||
20
home.nix
20
home.nix
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user