diff options
| Commit | 9f462d112ffa2209e6275ff0cc636813cc31a716 (patch) | |
|---|---|---|
| Author | 2023-09-24 10:43:56 +0300 | |
| Committer | 2023-09-24 10:43:56 +0300 | |
| Files | 0159723023ca5ad8db055af442bcfaed4cd28b5f | |
| nix-9f462d112ffa2209e6275ff0cc636813cc31a716.tar nix-9f462d112ffa2209e6275ff0cc636813cc31a716.tar.gz nix-9f462d112ffa2209e6275ff0cc636813cc31a716.zip | ||
| Parent | 86a3cb954c14042a43d8bd3dfc6e5e64014485e1 (diff) | |
[configuration,packages] Fully configured virtualisation
3 files changed, 5 insertions, 3 deletions
| -rw-r--r-- | configuration.nix | 3 | ||||
| -rw-r--r-- | packages.nix | 2 | ||||
| -rw-r--r-- | services.nix | 3 |
diff --git a/configuration.nix b/configuration.nix index 1608165..76611d5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,7 +61,7 @@ in { # Define a user account. Don't forget to set a password with ‘passwd’. users.users.kamen = { isNormalUser = true; - extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" ]; # Enable ‘sudo’ for the user. packages = [ ]; shell = pkgs.zsh; }; @@ -93,4 +93,5 @@ in { hardware.bluetooth.enable = true; security.polkit.enable = true; + boot.kernelModules = [ "kvm-intel" ]; } diff --git a/packages.nix b/packages.nix index 349e30c..b76e42a 100644 --- a/packages.nix +++ b/packages.nix @@ -41,7 +41,7 @@ in { brave firefox bitwarden nextcloud-client thunderbird birdtray # System gnome.gnome-system-monitor udisks gnome.gnome-disk-utility baobab gnome.simple-scan peek gparted - obs-studio qbittorrent speedcrunch virt-manager + obs-studio qbittorrent speedcrunch virt-manager libvirt qemu_kvm kvmtool qemu_full ]; openboxDE-core = [ # Essential libs diff --git a/services.nix b/services.nix index 68dbaaf..270d662 100644 --- a/services.nix +++ b/services.nix @@ -1,7 +1,8 @@ -{ config, ... }: +{ config, pkgs, ... }: { + virtualisation.libvirtd.enable = true; services = { upower.enable = true; tlp.enable = true; |
