From d6f9fe97f50cb08e91777c106a7e4ca9f57f9c5d Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Sun, 20 Jul 2025 22:40:14 +1000 Subject: [PATCH] added winapps flake to nixos pc modified: flake.nix --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flake.nix b/flake.nix index 064c241..2c21638 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,10 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + winapps = { + url = "github:winapps-org/winapps/feat-nix-packaging"; + flake = true; + }; }; outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs: @@ -24,6 +28,7 @@ modules = [ ./hosts/nixos/configuration.nix ./common/hardware-configuration.nix + inputs.winapps.nixosModule home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; @@ -31,7 +36,16 @@ } ]; + configuration = { + environment.systemPackages = with nixpkgs.legacyPackages.${system}; [ + inputs.winapps.packages.${system}.winapps + inputs.winapps.packages.${system}.winapps-launcher + freerdp + ]; + virtualisation.libvirtd.enable = true; + # other VM or RDP-related settings... + }; specialArgs = { inherit inputs; };