modified: hosts/services/configuration.nix
modified: modules/common.nix modified: modules/grafana.nix modified: modules/users.nix
This commit is contained in:
parent
69e8962c22
commit
f5ed833a48
|
@ -8,6 +8,7 @@
|
|||
|
||||
];
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
boot.cleanTmpDir = true;
|
||||
zramSwap.enable = true;
|
||||
networking.hostName = "services";
|
||||
|
|
|
@ -9,5 +9,10 @@
|
|||
lshw
|
||||
bc
|
||||
neovim
|
||||
ncdu
|
||||
nixos-option
|
||||
bat
|
||||
procs
|
||||
exa
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
programs.fish.enable = true;
|
||||
programs.fish.shellAliases = {
|
||||
ll = "ls -l";
|
||||
ls = "ls --color=tty";
|
||||
ls = "exa";
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue