From ee8b6ea4412d563b6425433196aedb3808b6b04b Mon Sep 17 00:00:00 2001 From: Bad Date: Tue, 3 Aug 2021 11:11:14 +0200 Subject: [PATCH] Add virt-manager --- profiles/virtualization/default.nix | 5 +++++ suites/default.nix | 2 +- users/mae/user.nix | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 profiles/virtualization/default.nix diff --git a/profiles/virtualization/default.nix b/profiles/virtualization/default.nix new file mode 100644 index 0000000..671de21 --- /dev/null +++ b/profiles/virtualization/default.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: { + virtualisation.libvirtd.enable = true; + programs.dconf.enable = true; + environment.systemPackages = with pkgs; [ virt-manager ]; +} diff --git a/suites/default.nix b/suites/default.nix index 181581a..a5acc71 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -1,7 +1,7 @@ { profiles, ... }: with profiles; rec { base = [ users.root core dnscrypt ]; - workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust ]; + workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization ]; desktop = workstation ++ [ users.mae-desk amd three_dee androidev ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager ]; } diff --git a/users/mae/user.nix b/users/mae/user.nix index 8c1957a..5e6e35e 100644 --- a/users/mae/user.nix +++ b/users/mae/user.nix @@ -6,6 +6,6 @@ isNormalUser = true; hashedPassword = "$6$vyS4lqYbl3$OXztJnAC5ZayA4eCBSIRlYtsi9u1HnafsfNL28l4CJh0BISVlSj6D48CA80cshnvYW/EEzfEj7z4zTNFpJAT/."; shell = pkgs.zsh; - extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" ]; + extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" "libvirtd" ]; }; }