Update for the new VPS

master
Emmanuel Beffara 5 years ago
parent 2c1402a4ac
commit f70b5ce461

@ -1,4 +1,4 @@
# The is the system definition for vps749417.ovh.net. # The is the system definition for vps-15813ce.ovh.net.
{ config, pkgs, ... }: { config, pkgs, ... }:
@ -16,9 +16,11 @@
}; };
}; };
boot.cleanTmpDir = true;
# Network configuration # Network configuration
networking = { networking = {
hostName = "vps749417"; hostName = "vps-15813cea";
useDHCP = false; useDHCP = false;
interfaces.ens3.useDHCP = true; interfaces.ens3.useDHCP = true;
firewall.allowedTCPPorts = [ 22 80 443 ]; firewall.allowedTCPPorts = [ 22 80 443 ];
@ -111,13 +113,18 @@
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
initialHashedPassword = "$6$40/yq55oyhD2MhbS$fox2DB5Aj4EpbQAx8z6FYEh3Jl3HKa7aHlGbijJukWxOpXIlKqNucBA8Eene7SaUQzHpvrhke9EFZIRxZpl5F/"; initialHashedPassword = "$6$40/yq55oyhD2MhbS$fox2DB5Aj4EpbQAx8z6FYEh3Jl3HKa7aHlGbijJukWxOpXIlKqNucBA8Eene7SaUQzHpvrhke9EFZIRxZpl5F/";
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCCf/v5xV24A0f6oqktmxl4qxbEAg+LSaPqiNzXB7b6m0+uYqxxL5ywLGyLp2Dv3xkMuKTqKV3BvXqZXUjgpWC8W1a952D4vRlghgX6ZaA4R0feQYeba8OaQTmDyPD1Ou4pRGHz/VPH1W8y+46lgOMzNHNuvnVuny72syfGFquN12aS+gvN7+FBQektcK+1Rs+EplaZ28rI6vFQycMK17/pXzD1ug42GQxeR9tzDQjJAyVz1nomwuwNOTJDbfd8qGSGYFUWLcKctn+ZWQhD0C1GD8+mdwYilve3su8N3XOuOi4umDFajAv7+CuVAD5RdtSwzx5knKMx/ksfels9MiQFPDz5z/doc4/s/t2qKKmP3bghrvLTEI1p4xiBj/4aJetyqlYgyYyrOYlm3xcx/ImL7oZYF2Jxq7ekio23hHaQLOHA+BYxYulTvDw99Mly933Ny9Z2Ead3mYYfCkRJieJ/7p62IcQUKIwU1pvqDHXRUYgeWJg8pW1TgqZB6rYkYk= manu@manivelle"
];
}; };
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release from which the default
# compatible, in order to avoid breaking some software such as database # settings for stateful data, like file locations and database versions
# servers. You should change this only after NixOS release notes say you # on your system were taken. Its perfectly fine and recommended to leave
# should. # this value at the release version of the first install of this system.
system.stateVersion = "19.09"; # Did you read the comment? # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09"; # Did you read the comment?
} }

Loading…
Cancel
Save