1
0

nixos 21.11 -> 22.05

This commit is contained in:
dump_stack() 2022-09-24 14:36:34 +00:00
parent 9b968991f6
commit 00b8c13f5a
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
3 changed files with 9 additions and 8 deletions

View File

@ -3,7 +3,7 @@
[Download NixOS installation ISO](https://nixos.org/nixos/download.html) [Download NixOS installation ISO](https://nixos.org/nixos/download.html)
Notes: 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`. 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". 3. GUI settings is optimized for 3840x2160 on 15".
@ -35,8 +35,8 @@ Notes:
cp secrets.nix.example secrets.nix cp secrets.nix.example secrets.nix
nano secrets.nix nano secrets.nix
nix-channel --add https://nixos.org/channels/nixos-21.11 nixos nix-channel --add https://nixos.org/channels/nixos-22.05 nixos
nix-channel --add https://nixos.org/channels/nixos-21.11-small nixos-small 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 --add https://nixos.org/channels/nixos-unstable unstable
nix-channel --update nix-channel --update
@ -49,7 +49,7 @@ Notes:
Initial password for `user` is `user`. 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-22.05 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-small nixos-small
sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable
sudo nix-channel --update sudo nix-channel --update

View File

@ -1,5 +1,6 @@
# nix-channel --add https://nixos.org/channels/nixos-20.09 nixos # nix-channel --add https://nixos.org/channels/nixos-22.05 nixos
# nix-channel --add https://nixos.org/channels/nixos-20.09-small nixos-small # 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 # nix-channel --update
# #
{ config, pkgs, ... }: { config, pkgs, ... }:

View File

@ -2,7 +2,7 @@
let let
home-manager = builtins.fetchTarball { 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 { in {
imports = [ "${home-manager}/nixos" ]; imports = [ "${home-manager}/nixos" ];