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? }