modified: hosts/services/configuration.nix

modified:   modules/common.nix
	modified:   modules/grafana.nix
	modified:   modules/users.nix
alacritty
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;
zramSwap.enable = true;
networking.hostName = "services";

View File

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

View File

@ -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 = {

View File

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