diff --git a/configuration.nix b/configuration.nix index bbdf017..caed5ef 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,7 +28,11 @@ in { nixpkgs.config = { allowUnfree = true; }; - networking.hostName = "nixos"; # Define your hostname. + virtualisation.libvirtd.enable = true; + virtualisation.libvirtd.qemu.package = pkgs.qemu_kvm; + users.extraGroups.libvirtd.members = [ "sevki" ]; + + networking.hostName = "trashcan"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -60,6 +64,7 @@ in { services.xserver.enable = true; # Enable the GNOME Desktop Environment. + # services.displayManager.sddm.enable = true; services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; @@ -69,6 +74,7 @@ in { xkbVariant = ""; }; + # Enable CUPS to print documents. services.printing.enable = true; @@ -93,7 +99,7 @@ in { users.users.sevki = { isNormalUser = true; description = "sevki"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; packages = with pkgs; [ firefox # rustc @@ -139,6 +145,7 @@ in { llvmPackages_17.bintools podman-compose sea-orm-cli + ulauncher (vscode-with-extensions.override { vscodeExtensions = with vscode-extensions; [ tamasfe.even-better-toml @@ -212,6 +219,9 @@ in { wayland wayland-protocols nextdns + virt-manager + qemu + OVMF ]; # https://github.com/rust-lang/rust-bindgen#environment-variables