From e078956a632b2d0c8f5767a5f6e9ab87fc3aad20 Mon Sep 17 00:00:00 2001 From: Zeph Levy <171337931+ZephLevy@users.noreply.github.com> Date: Thu, 19 Feb 2026 10:31:51 +0100 Subject: [PATCH] Add virt manager and deno --- flake.lock | 24 ++++++++++++------------ nixos/modules/user.nix | 4 ++++ nixos/pkgs.nix | 1 + 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 1859c89..f2d7c40 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1771188132, - "narHash": "sha256-qLXxN/tPrZtnekaLBQuVtxQfvqqs5cT5WbyH4zZaTGI=", + "lastModified": 1771471179, + "narHash": "sha256-XuP8HPzvt4+m9aKVeL9GdGNlTeyeDn3zEeUuorvrw88=", "owner": "nix-community", "repo": "home-manager", - "rev": "ae8003d8b61d0d373e7ca3da1a48f9c870d15df9", + "rev": "2dedeb55b2c140d9a123ae931588e8903fe202ef", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1771171797, - "narHash": "sha256-ngIarpog/Hv5r9M1YyvsaaSUBCqtWqHl6pibq6n2ppo=", + "lastModified": 1771423359, + "narHash": "sha256-yRKJ7gpVmXbX2ZcA8nFi6CMPkJXZGjie2unsiMzj3Ig=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "531af1dbaee7cfdd7aed1e595ce418b7e2e99a80", + "rev": "740a22363033e9f1bb6270fbfb5a9574067af15b", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1771008912, - "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "lastModified": 1771369470, + "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "rev": "0182a361324364ae3f436a63005877674cf45efb", "type": "github" }, "original": { @@ -54,11 +54,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1771043024, - "narHash": "sha256-O1XDr7EWbRp+kHrNNgLWgIrB0/US5wvw9K6RERWAj6I=", + "lastModified": 1771208521, + "narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3aadb7ca9eac2891d52a9dec199d9580a6e2bf44", + "rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8", "type": "github" }, "original": { diff --git a/nixos/modules/user.nix b/nixos/modules/user.nix index 9e79bcf..9580e79 100644 --- a/nixos/modules/user.nix +++ b/nixos/modules/user.nix @@ -5,6 +5,10 @@ # virtualisation.docker.enable = true; virtualisation.containers.enable = true; + programs.virt-manager.enable = true; + users.groups.libvirtd.members = [ "zeph" ]; + virtualisation.libvirtd.enable = true; + virtualisation.spiceUSBRedirection.enable = true; virtualisation = { podman = { enable = true; diff --git a/nixos/pkgs.nix b/nixos/pkgs.nix index ca94220..98cd966 100644 --- a/nixos/pkgs.nix +++ b/nixos/pkgs.nix @@ -21,6 +21,7 @@ go gopls bun + deno svelte-language-server typescript-language-server nixd