diff --git a/hosts/services/configuration.nix b/hosts/services/configuration.nix index 37d2d3c..995c5ac 100644 --- a/hosts/services/configuration.nix +++ b/hosts/services/configuration.nix @@ -8,6 +8,7 @@ ]; + system.stateVersion = "21.05"; boot.cleanTmpDir = true; zramSwap.enable = true; networking.hostName = "services"; diff --git a/modules/common.nix b/modules/common.nix index fc6dfb3..3f2a519 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -9,5 +9,10 @@ lshw bc neovim + ncdu + nixos-option + bat + procs + exa ]; } diff --git a/modules/grafana.nix b/modules/grafana.nix index 533033e..e599a3d 100644 --- a/modules/grafana.nix +++ b/modules/grafana.nix @@ -7,20 +7,15 @@ enable = true; domain = "sup.atlanticaweb.fr"; port = 2342; - addr = "127.0.0.1"; - }; + addr = "192.168.10.109"; + }; services.caddy = { enable = true; email = "lucazeau.alexandre@gmail.com"; extraConfig = '' - { - storage file_system { - root ${caddyDir} - } - } - https://sup.atlanticaweb.fr:2342 { - reverse_proxy http://127.0.0.1:${toString config.services.grafana.port} - } + storage file_system { + root * ${caddyDir} + }; ''; }; services.prometheus = { diff --git a/modules/users.nix b/modules/users.nix index 80e35a7..64b9f4e 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -27,7 +27,7 @@ programs.fish.enable = true; programs.fish.shellAliases = { ll = "ls -l"; - ls = "ls --color=tty"; + ls = "exa"; vi = "nvim"; vim = "nvim"; };