From 78069038b4e3a467f60d81ca9f2c3af0bbc7c5c2 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 1 Feb 2021 23:17:24 +0000 Subject: [PATCH] Use SNM from branch 20.09 and switch NixOS state to 20.09 --- configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7817095..17608e6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,8 +1,9 @@ { config, pkgs, ... }: let secrets = import ./secrets.nix; + hostname = "mail-dumpstack-io"; domain = "dumpstack.io"; - branch = "20.03"; + branch = "20.09"; in { imports = [ ./hardware-configuration.nix @@ -19,7 +20,7 @@ in { boot.loader.grub.version = 2; boot.loader.grub.device = "/dev/vda"; - networking.hostName = "mail.${domain}"; + networking.hostName = hostname; networking.firewall.allowedTCPPorts = [ 443 ]; @@ -55,7 +56,7 @@ in { }; # read release notes carefully before changing it - system.stateVersion = "20.03"; + system.stateVersion = "20.09"; nix = { optimise.automatic = true;