diff --git a/systems/common.nix b/systems/common.nix index f0aaad2..b6befe0 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -1,4 +1,5 @@ { + lib, pkgs, nixpkgs, ... @@ -55,5 +56,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 = "23.11"; # Did you read the comment? + system.stateVersion = lib.mkDefault "23.11"; # Did you read the comment? } diff --git a/systems/desktop.nix b/systems/desktop.nix index 7f2a891..1f87284 100644 --- a/systems/desktop.nix +++ b/systems/desktop.nix @@ -170,8 +170,12 @@ in { enable = true; plugins = with pkgs.xfce; [thunar-volman thunar-archive-plugin]; }; + + virt-manager.enable = true; }; + virtualisation.libvirtd.enable = true; + security.pam.services.greetd.enableGnomeKeyring = true; # Define a user account. Don't forget to set a password with ‘passwd’. @@ -179,7 +183,7 @@ in { ${username} = { isNormalUser = true; shell = pkgs.fish; - extraGroups = ["networkmanager" "wheel" "video"]; + extraGroups = ["networkmanager" "wheel" "video" "libvirtd"]; hashedPasswordFile = config.age.secrets.userPassword.path; };