modified: hosts/services/configuration.nix

modified:   modules/common.nix
	modified:   modules/grafana.nix
	modified:   modules/users.nix
This commit is contained in:
Alexandre LUCAZEAU 2022-06-01 19:04:19 +00:00
parent 69e8962c22
commit f5ed833a48
4 changed files with 12 additions and 11 deletions

View File

@ -8,6 +8,7 @@
]; ];
system.stateVersion = "21.05";
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "services"; networking.hostName = "services";

View File

@ -9,5 +9,10 @@
lshw lshw
bc bc
neovim neovim
ncdu
nixos-option
bat
procs
exa
]; ];
} }

View File

@ -7,20 +7,15 @@
enable = true; enable = true;
domain = "sup.atlanticaweb.fr"; domain = "sup.atlanticaweb.fr";
port = 2342; port = 2342;
addr = "127.0.0.1"; addr = "192.168.10.109";
}; };
services.caddy = { services.caddy = {
enable = true; enable = true;
email = "lucazeau.alexandre@gmail.com"; email = "lucazeau.alexandre@gmail.com";
extraConfig = '' extraConfig = ''
{ storage file_system {
storage file_system { root * ${caddyDir}
root ${caddyDir} };
}
}
https://sup.atlanticaweb.fr:2342 {
reverse_proxy http://127.0.0.1:${toString config.services.grafana.port}
}
''; '';
}; };
services.prometheus = { services.prometheus = {

View File

@ -27,7 +27,7 @@
programs.fish.enable = true; programs.fish.enable = true;
programs.fish.shellAliases = { programs.fish.shellAliases = {
ll = "ls -l"; ll = "ls -l";
ls = "ls --color=tty"; ls = "exa";
vi = "nvim"; vi = "nvim";
vim = "nvim"; vim = "nvim";
}; };