From 3d901464e77ea70f40fed3fd4e0b8284cfa92d5d Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Mon, 18 Dec 2023 11:36:20 +0100 Subject: [PATCH] Move virt-manger package from home-manager and move to nixos --- configuration/devices/laptop/default.nix | 6 +++++- flake.lock | 12 ++++++------ modules/home-manager/virt-manager.nix | 4 +--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/configuration/devices/laptop/default.nix b/configuration/devices/laptop/default.nix index f45544a6..4d6a9547 100644 --- a/configuration/devices/laptop/default.nix +++ b/configuration/devices/laptop/default.nix @@ -62,7 +62,11 @@ onedrive.enable = true; }; - programs.steam.enable = true; + programs = { + steam.enable = true; + + virt-manager.enable = true; + }; environment.systemPackages = [ pkgs.discord diff --git a/flake.lock b/flake.lock index 940b8dad..ad0f95f5 100644 --- a/flake.lock +++ b/flake.lock @@ -190,11 +190,11 @@ ] }, "locked": { - "lastModified": 1702782546, - "narHash": "sha256-Y/y9Xpd8W2CSFIAXJExAvg72J8STmGk7CP2Vv91t930=", + "lastModified": 1702864432, + "narHash": "sha256-xR5Igg2hnm979W3YgMDrSjErHFhHo4rbMboF6DC0mbc=", "owner": "Mic92", "repo": "nix-index-database", - "rev": "27edc98a32959b003e4bcef9719ad6f24e312343", + "rev": "4605ccd764fac78b9e4b5b058698cb9f04430b91", "type": "github" }, "original": { @@ -212,11 +212,11 @@ ] }, "locked": { - "lastModified": 1702776295, - "narHash": "sha256-4vIvw2O8ilFAC5Z8mzwdNdDnzIA0duWDHJ5jNj2N858=", + "lastModified": 1702862450, + "narHash": "sha256-18/cpAXDSbBArFl+cysNo0optzaKn2XlW9IX4asH39c=", "owner": "Infinidoge", "repo": "nix-minecraft", - "rev": "ba869b9a7fb835197db4e7a87de2d28a80f4705e", + "rev": "4440d803fc989d8b563bec164f6e2715060fc284", "type": "github" }, "original": { diff --git a/modules/home-manager/virt-manager.nix b/modules/home-manager/virt-manager.nix index be68595c..7bcace1f 100644 --- a/modules/home-manager/virt-manager.nix +++ b/modules/home-manager/virt-manager.nix @@ -1,6 +1,4 @@ -{ pkgs, ... }: { - home.packages = [ pkgs.virt-manager ]; - +{ dconf = { enable = true;