From 10275a033e0e3cac0e9f256e262948cbcb98894a Mon Sep 17 00:00:00 2001 From: coast Date: Fri, 4 Sep 2026 19:45:52 +0330 Subject: updates --- configuration/default.nix | 7 ++++++- flake.lock | 12 ++++++------ home-configuration/default.nix | 11 +++++++++-- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/configuration/default.nix b/configuration/default.nix index 40b9dc6..e7d2524 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -72,6 +72,11 @@ virtualisation.waydroid.package = pkgs.waydroid-nftables; virtualisation.docker.enable = true; + programs.virt-manager.enable = true; + users.groups.libvirtd.members = [ "coast" ]; + virtualisation.libvirtd.enable = true; + virtualisation.spiceUSBRedirection.enable = true; + environment.shells = with pkgs; [ zsh ]; environment.systemPackages = with pkgs; [ wineWow64Packages.stable @@ -90,7 +95,7 @@ ]; users.users.coast.isNormalUser = true; - users.users.coast.extraGroups = [ "wheel" "docker" "input" "video" "audio" "usb" ]; + users.users.coast.extraGroups = [ "wheel" "docker" "input" "video" "audio" "usb" "libvirtd" ]; users.users.coast.shell = pkgs.zsh; fonts.packages = builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts); diff --git a/flake.lock b/flake.lock index 83cd9f8..bbe2f94 100644 --- a/flake.lock +++ b/flake.lock @@ -44,11 +44,11 @@ ] }, "locked": { - "lastModified": 1780361225, - "narHash": "sha256-wnV9ttf4fPWNonBIQmvlrSlNpQYgx5HgWWd007mwIFA=", + "lastModified": 1787377438, + "narHash": "sha256-Sxu1NLTD/Ern6hFGLlZmtKCSct3YQXZI/lls8RE1XeM=", "owner": "nix-community", "repo": "home-manager", - "rev": "e28654b71096e08c019d4861ca26acb646f583d8", + "rev": "65258d5c65a250189fde2e35f490d15e064c4c62", "type": "github" }, "original": { @@ -76,11 +76,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1780243769, - "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", + "lastModified": 1788404924, + "narHash": "sha256-lhEhY8X5EgkQ/eg6IFz4cc8jRuSYSvnxx1al7d1dvZ0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", + "rev": "0968519e14f7aa7d3e9b389682bd74d2b51c8ce8", "type": "github" }, "original": { diff --git a/home-configuration/default.nix b/home-configuration/default.nix index 037da54..29bf954 100644 --- a/home-configuration/default.nix +++ b/home-configuration/default.nix @@ -33,8 +33,16 @@ in "org/gnome/desktop/interface" = { color-scheme = "prefer-dark"; }; + "org/virt-manager/virt-manager/connections" = { + autoconnect = [ "qemu:///system" ]; + uris = [ "qemu:///system" ]; + }; }; + gtk.theme = { + name = "Adwaita-dark"; + package = pkgs.gnome-themes-extra; + }; gtk.enable = true; systemd.user.sessionVariables = config.home.sessionVariables; qt.enable = true; @@ -44,8 +52,6 @@ in pkgs.catppuccin-kvantum ]; - - home.packages = [ pkgs.python3 pkgs.starship @@ -102,6 +108,7 @@ in pkgs.hsetroot pkgs.pamixer pkgs.qemu + pkgs.OVMF.fd pkgs.unzip pkgs.zig ]; -- cgit v1.3