Adding virtualbox

This commit is contained in:
Lyes Saadi 2024-09-27 14:38:12 +02:00
parent 480f074966
commit 5f17e46132
No known key found for this signature in database
GPG key ID: 17418538BAA17767
4 changed files with 14 additions and 10 deletions

18
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1725180166, "lastModified": 1726142087,
"narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=", "narHash": "sha256-uT4TRd3PgreUD5sJaNioVfMemdyWFLoPHqN4AFszGmw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb", "rev": "da8406a6ff556b86dc368e96ca8bd81b2704a91a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1724878143, "lastModified": 1725885300,
"narHash": "sha256-UjpKo92iZ25M05kgSOw/Ti6VZwpgdlOa73zHj8OcaDk=", "narHash": "sha256-5RLEnou1/GJQl+Wd+Bxaj7QY7FFQ9wjnFq1VNEaxTmc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef", "rev": "166dee4f88a7e3ba1b7a243edb1aca822f00680e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -54,11 +54,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724819573, "lastModified": 1725983898,
"narHash": "sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w=", "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "71e91c409d1e654808b2621f28a327acfdad8dc2", "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# nixpkgs.url = "github:NixOS/nixpkgs/?ref=e7f16004a749b67628898c1eda4beee6ef84f4c0";
# nixpkgs.url = "github:NixOS/nixpkgs/gnome"; # nixpkgs.url = "github:NixOS/nixpkgs/gnome";
# nixpkgs.url = "github:LyesSaadi/nixpkgs/unstablegnome47"; # nixpkgs.url = "github:LyesSaadi/nixpkgs/unstablegnome47";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";

View file

@ -124,6 +124,9 @@
# Virtualisation # Virtualisation
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enableExtensionPack = true;
users.extraGroups.vboxusers.members = [ "lyes" ];
# Containers # Containers
virtualisation.containers.enable = true; virtualisation.containers.enable = true;

View file

@ -81,7 +81,7 @@ in {
# Games # Games
heroic heroic
# cemu # cemu
(prismlauncher.override { withWaylandGLFW = true; }) prismlauncher
vvvvvv vvvvvv
ryujinx ryujinx
dolphin-emu dolphin-emu