1
0
Fork 0

Use SNM from branch 20.09 and switch NixOS state to 20.09

master
dump_stack() 2021-02-01 23:17:24 +00:00
parent 226c73e3f5
commit 78069038b4
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
secrets = import ./secrets.nix; secrets = import ./secrets.nix;
hostname = "mail-dumpstack-io";
domain = "dumpstack.io"; domain = "dumpstack.io";
branch = "20.03"; branch = "20.09";
in { in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -19,7 +20,7 @@ in {
boot.loader.grub.version = 2; boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda"; boot.loader.grub.device = "/dev/vda";
networking.hostName = "mail.${domain}"; networking.hostName = hostname;
networking.firewall.allowedTCPPorts = [ 443 ]; networking.firewall.allowedTCPPorts = [ 443 ];
@ -55,7 +56,7 @@ in {
}; };
# read release notes carefully before changing it # read release notes carefully before changing it
system.stateVersion = "20.03"; system.stateVersion = "20.09";
nix = { nix = {
optimise.automatic = true; optimise.automatic = true;