1
0

nixos: 22.05 -> 22.11

This commit is contained in:
dump_stack() 2022-12-17 17:49:00 +00:00
parent 52fa97fb2d
commit 50f86d54af
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
3 changed files with 12 additions and 10 deletions

View File

@ -3,7 +3,7 @@
[Download NixOS installation ISO](https://nixos.org/nixos/download.html)
Notes:
1. I assume that latest **stable** (e.g. 22.05) ISO will be used for installation.
1. I assume that latest **stable** (e.g. 22.11) 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-22.05 nixos
nix-channel --add https://nixos.org/channels/nixos-22.05-small nixos-small
nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
nix-channel --add https://nixos.org/channels/nixos-22.11-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-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-22.11 nixos
sudo nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small
sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable
sudo nix-channel --update

View File

@ -1,5 +1,5 @@
# 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-22.11 nixos
# nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small
# nix-channel --add https://nixos.org/channels/nixos-unstable unstable
# nix-channel --update
#
@ -22,7 +22,7 @@ in {
./local.nix
];
boot.kernelPackages = nixos-small.linuxPackages_latest;
boot.kernelPackages = nixos-small.linuxPackages_6_0;
boot.kernelParams = [ "nouveau.modeset=0" ]; # comment out in case of nvidia
time.timeZone = "UTC";
@ -66,7 +66,7 @@ in {
system.stateVersion = "20.09";
nix = {
trustedUsers = [ "root" "user" ];
settings.trusted-users = [ "root" "user" ];
optimise.automatic = true;
gc = {
automatic = true;

View File

@ -2,7 +2,7 @@
let
home-manager = builtins.fetchTarball {
url = "https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz";
url = "https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz";
};
in {
imports = [ "${home-manager}/nixos" ];
@ -10,6 +10,7 @@ in {
home-manager.useUserPackages = true;
home-manager.users.root = {
home.stateVersion = "22.11";
programs = {
zsh = {
enable = true;
@ -24,6 +25,7 @@ in {
};
home-manager.users.user = {
home.stateVersion = "22.11";
services.dunst = {
enable = true;
settings = {