From a83a7f62ec92a7ab43ca022575ce75020f24d671 Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Fri, 14 Feb 2025 21:57:36 +0200 Subject: [PATCH] Last update before a trip tp Germany --- hosts/default/apps/ancs.nix | 0 hosts/default/configuration.nix | 20 +++++++++++++++++++- hosts/default/packages.nix | 8 ++++++++ modules/nixos/main-user.nix | 2 +- 4 files changed, 28 insertions(+), 2 deletions(-) delete mode 100644 hosts/default/apps/ancs.nix diff --git a/hosts/default/apps/ancs.nix b/hosts/default/apps/ancs.nix deleted file mode 100644 index e69de29..0000000 diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 448f9e8..bad2590 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -14,7 +14,7 @@ ./packages.nix # ../../modules/home-manager/hyprpanel.nix ./other/activate.nix - + # ./apps/ancs.nix ]; programs.steam = { @@ -24,6 +24,8 @@ localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers }; + # services.ancs.enable = true; + services.flatpak.enable = true; services.flatpak.remotes = [ { @@ -54,6 +56,22 @@ openFirewall = true; }; + programs.virt-manager.enable = true; + # user.groups.libvirtd.members = [ "ocbwoy3" ]; + virtualisation.libvirtd.enable = true; + # virtualisation.waydroid.enable = true; + virtualisation.spiceUSBRedirection.enable = true; + + # fuck xitter + networking.extraHosts = '' + 0.0.0.0 platform.twitter.com + 0.0.0.0 api.twitter.com + 0.0.0.0 twitter.com + 0.0.0.0 platform.x.com + 0.0.0.0 api.x.com + 0.0.0.0 x.com + ''; + services.avahi = { enable = true; nssmdns4 = true; diff --git a/hosts/default/packages.nix b/hosts/default/packages.nix index c7eb9d2..2b93472 100644 --- a/hosts/default/packages.nix +++ b/hosts/default/packages.nix @@ -19,6 +19,14 @@ environment.systemPackages = with pkgs; [ inputs.hyprsysteminfo.packages.${pkgs.stdenv.hostPlatform.system}.hyprsysteminfo hyprpanel + # minecraft + qemu + (writeShellScriptBin "qemu-system-x86_64-uefi" '' + qemu-system-x86_64 \ + -bios ${OVMF.fd}/FV/OVMF.fd \ + "$@" + '') + (writeShellScriptBin "regretevator" ''xdg-open roblox://placeId=4972273297'') libxkbcommon gnupg nix-direnv diff --git a/modules/nixos/main-user.nix b/modules/nixos/main-user.nix index 188ce3a..51f559d 100644 --- a/modules/nixos/main-user.nix +++ b/modules/nixos/main-user.nix @@ -28,7 +28,7 @@ initialPassword = "password"; description = "${config.main-user.realName}"; shell = pkgs.zsh; - extraGroups = [ "networkmanager" "wheel" "input" "video" ]; + extraGroups = [ "networkmanager" "wheel" "input" "video" "libvirtd" ]; packages = config.main-user.packages; }; };