From 00b8c13f5a0f247e64c60471e472be1456a815b8 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 24 Sep 2022 14:36:34 +0000 Subject: [PATCH] nixos 21.11 -> 22.05 --- README.md | 10 +++++----- configuration.nix | 5 +++-- home-manager.nix | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 25964ea..a12749a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [Download NixOS installation ISO](https://nixos.org/nixos/download.html) Notes: -1. I assume that latest **stable** (e.g. 21.11) ISO will be used for installation. +1. I assume that latest **stable** (e.g. 22.05) ISO will be used for installation. 2. Default network configuration is VPN-only, so if you don't have plans to use it you need to change iptables rules (remove `iptables -P OUTPUT DROP` from `networking.nix`) and remove `services.openvpn.servers.vpn` from `networking.nix`. 3. GUI settings is optimized for 3840x2160 on 15". @@ -35,8 +35,8 @@ Notes: cp secrets.nix.example secrets.nix nano secrets.nix - nix-channel --add https://nixos.org/channels/nixos-21.11 nixos - nix-channel --add https://nixos.org/channels/nixos-21.11-small nixos-small + nix-channel --add https://nixos.org/channels/nixos-22.05 nixos + nix-channel --add https://nixos.org/channels/nixos-22.05-small nixos-small nix-channel --add https://nixos.org/channels/nixos-unstable unstable nix-channel --update @@ -49,7 +49,7 @@ Notes: Initial password for `user` is `user`. - sudo nix-channel --add https://nixos.org/channels/nixos-21.11 nixos - sudo nix-channel --add https://nixos.org/channels/nixos-21.11-small nixos-small + sudo nix-channel --add https://nixos.org/channels/nixos-22.05 nixos + sudo nix-channel --add https://nixos.org/channels/nixos-22.05-small nixos-small sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable sudo nix-channel --update diff --git a/configuration.nix b/configuration.nix index 792d13e..5f1e4ec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,5 +1,6 @@ -# nix-channel --add https://nixos.org/channels/nixos-20.09 nixos -# nix-channel --add https://nixos.org/channels/nixos-20.09-small nixos-small +# nix-channel --add https://nixos.org/channels/nixos-22.05 nixos +# nix-channel --add https://nixos.org/channels/nixos-22.05-small nixos-small +# nix-channel --add https://nixos.org/channels/nixos-unstable unstable # nix-channel --update # { config, pkgs, ... }: diff --git a/home-manager.nix b/home-manager.nix index b47537c..fb9b2cb 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -2,7 +2,7 @@ let home-manager = builtins.fetchTarball { - url = "https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz"; + url = "https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz"; }; in { imports = [ "${home-manager}/nixos" ];