Upgrade sup.atlanticaweb.fr to 23.05

This commit is contained in:
Alexandre LUCAZEAU 2023-06-21 19:15:44 +00:00
parent 7c80d88a9d
commit 7bf0b6e7db
3 changed files with 9 additions and 5 deletions

View File

@ -2,14 +2,16 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./firewall-services.nix ./firewall-services.nix
./VPN.nix
../modules/users.nix ../modules/users.nix
../modules/common.nix ../modules/common.nix
../modules/smtp.nix ../modules/smtp.nix
../modules/grafana.nix ../modules/grafana.nix
../docker/podman.nix
]; ];
system.stateVersion = "22.05"; system.stateVersion = "22.05";
boot.cleanTmpDir = true; boot.tmp.cleanOnBoot = true;
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "sup"; networking.hostName = "sup";
services.openssh.enable = true; services.openssh.enable = true;

View File

@ -5,9 +5,11 @@
{ {
services.grafana = { services.grafana = {
enable = true; enable = true;
domain = "sup.atlanticaweb.fr"; settings.server = {
port = 2342; domain = "sup.atlanticaweb.fr";
addr = "192.168.10.108"; http_port = 2342;
http_addr = "192.168.10.108";
};
}; };
services.prometheus = { services.prometheus = {
enable = true; enable = true;

View File

@ -10,7 +10,7 @@
createHome = true; createHome = true;
home = "/home/alexandre"; home = "/home/alexandre";
description = "Alexandre LUCAZEAU"; description = "Alexandre LUCAZEAU";
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" "docker" "plocate" ];
group = "alexandre"; group = "alexandre";
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com" ];