add virt-manager and libvirtd
This commit is contained in:
parent
a0fa18e84c
commit
740bf8681c
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
...
|
...
|
||||||
|
@ -55,5 +56,5 @@
|
||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (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?
|
||||||
}
|
}
|
||||||
|
|
|
@ -170,8 +170,12 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.xfce; [thunar-volman thunar-archive-plugin];
|
plugins = with pkgs.xfce; [thunar-volman thunar-archive-plugin];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virt-manager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
@ -179,7 +183,7 @@ in {
|
||||||
${username} = {
|
${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
extraGroups = ["networkmanager" "wheel" "video"];
|
extraGroups = ["networkmanager" "wheel" "video" "libvirtd"];
|
||||||
hashedPasswordFile = config.age.secrets.userPassword.path;
|
hashedPasswordFile = config.age.secrets.userPassword.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue