From 5f17e4613262aff03fa192c02528b10770ebea94 Mon Sep 17 00:00:00 2001 From: Lyes Saadi Date: Fri, 27 Sep 2024 14:38:12 +0200 Subject: [PATCH] Adding virtualbox --- flake.lock | 18 +++++++++--------- flake.nix | 1 + general/system.nix | 3 +++ general/user/packages.nix | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index f4190ad..6dbf122 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1725180166, - "narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=", + "lastModified": 1726142087, + "narHash": "sha256-uT4TRd3PgreUD5sJaNioVfMemdyWFLoPHqN4AFszGmw=", "owner": "nix-community", "repo": "home-manager", - "rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb", + "rev": "da8406a6ff556b86dc368e96ca8bd81b2704a91a", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1724878143, - "narHash": "sha256-UjpKo92iZ25M05kgSOw/Ti6VZwpgdlOa73zHj8OcaDk=", + "lastModified": 1725885300, + "narHash": "sha256-5RLEnou1/GJQl+Wd+Bxaj7QY7FFQ9wjnFq1VNEaxTmc=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef", + "rev": "166dee4f88a7e3ba1b7a243edb1aca822f00680e", "type": "github" }, "original": { @@ -54,11 +54,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724819573, - "narHash": "sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w=", + "lastModified": 1725983898, + "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "71e91c409d1e654808b2621f28a327acfdad8dc2", + "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index ff05c37..44da8d4 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + # nixpkgs.url = "github:NixOS/nixpkgs/?ref=e7f16004a749b67628898c1eda4beee6ef84f4c0"; # nixpkgs.url = "github:NixOS/nixpkgs/gnome"; # nixpkgs.url = "github:LyesSaadi/nixpkgs/unstablegnome47"; home-manager.url = "github:nix-community/home-manager"; diff --git a/general/system.nix b/general/system.nix index 83b2a57..325236f 100644 --- a/general/system.nix +++ b/general/system.nix @@ -124,6 +124,9 @@ # Virtualisation virtualisation.libvirtd.enable = true; + virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host.enableExtensionPack = true; + users.extraGroups.vboxusers.members = [ "lyes" ]; # Containers virtualisation.containers.enable = true; diff --git a/general/user/packages.nix b/general/user/packages.nix index cdf6d0c..b96ccd7 100644 --- a/general/user/packages.nix +++ b/general/user/packages.nix @@ -81,7 +81,7 @@ in { # Games heroic # cemu - (prismlauncher.override { withWaylandGLFW = true; }) + prismlauncher vvvvvv ryujinx dolphin-emu