From 1a42340149bab26056291f34d4fccf03bb10df3b Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sat, 7 Jan 2023 20:28:54 +0100 Subject: [PATCH] updated stateVersion --- capibara.nix | 2 +- home/nixos-common.nix | 2 +- nixos/common.nix | 18 +++++++++++++++++- trantor.nix | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/capibara.nix b/capibara.nix index e957223..a3847dc 100644 --- a/capibara.nix +++ b/capibara.nix @@ -165,5 +165,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "21.05"; # Did you read the comment? + system.stateVersion = "22.11"; # Did you read the comment? } diff --git a/home/nixos-common.nix b/home/nixos-common.nix index 5aba073..52b0803 100644 --- a/home/nixos-common.nix +++ b/home/nixos-common.nix @@ -220,5 +220,5 @@ nix-direnv.enable = true; }; - home.stateVersion = "21.11"; + home.stateVersion = "22.11"; } diff --git a/nixos/common.nix b/nixos/common.nix index 7f016b5..9509078 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -123,6 +123,9 @@ swaylock.text = '' auth include login ''; + waylock.text = '' + auth include system-auth + ''; login = { allowNullPassword = true; setEnvironment = true; @@ -131,11 +134,24 @@ unixAuth = true; updateWtmp = true; + # Unlock keyring on login. + enableGnomeKeyring = true; + }; + system-auth = { + allowNullPassword = true; + setEnvironment = true; + setLoginUid = true; + startSession = true; + unixAuth = true; + updateWtmp = true; + # Unlock keyring on login. enableGnomeKeyring = true; }; }; + security.polkit.enable = true; + # List packages installed in system profile. To search, run: # $ nix search wget # environment.systemPackages = with pkgs; [ @@ -287,5 +303,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "21.05"; # Did you read the comment? + system.stateVersion = "22.11"; # Did you read the comment? } diff --git a/trantor.nix b/trantor.nix index d821752..3e0392b 100644 --- a/trantor.nix +++ b/trantor.nix @@ -212,5 +212,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "21.05"; # Did you read the comment? + system.stateVersion = "22.11"; # Did you read the comment? }