From 471e0ad29ce16a5eb9f6412e63aecf08291b3e80 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 4 Sep 2023 17:10:03 +0200 Subject: [PATCH] Update nixpkgs and enable virtualisation --- flake.lock | 12 ++++++------ modules/common/linux/default.nix | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 55bc6a1..7683d17 100644 --- a/flake.lock +++ b/flake.lock @@ -711,11 +711,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1691464053, - "narHash": "sha256-D21ctOBjr2Y3vOFRXKRoFr6uNBvE8q5jC4RrMxRZXTM=", + "lastModified": 1693780807, + "narHash": "sha256-diV1X53HjSB3fIcDFieh9tGZkJ3vqJJQhTz89NbYw60=", "owner": "nixos", "repo": "nixpkgs", - "rev": "844ffa82bbe2a2779c86ab3a72ff1b4176cec467", + "rev": "84ef5335abf541d8148433489e0cf79affae3f89", "type": "github" }, "original": { @@ -775,11 +775,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1692986144, - "narHash": "sha256-M4VFpy7Av9j+33HF5nIGm0k2+DXXW4qSSKdidIKg5jY=", + "lastModified": 1693636127, + "narHash": "sha256-ZlS/lFGzK7BJXX2YVGnP3yZi3T9OLOEtBCyMJsb91U8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "74e5bdc5478ebbe7ba5849f0d765f92757bb9dbf", + "rev": "9075cba53e86dc318d159aee55dc9a7c9a4829c1", "type": "github" }, "original": { diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index 41d6fd0..7fe3023 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -47,6 +47,9 @@ let }; virtualisation.oci-containers.backend = "podman"; + + virtualisation.virtualbox.host.enable = true; + users.extraGroups.vboxusers.members = [ cfg.username ]; }; }; in