diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -20,10 +20,14 @@ url = "git+https://git.nathanreiner.xyz/wofi-pass"; inputs.nixpkgs.follows = "nixpkgs"; }; + winapps = { + url = "github:winapps-org/winapps"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = - { nixpkgs, nixpkgs-unstable, webtray, ... }@attrs: + { nixpkgs, nixpkgs-unstable, webtray, winapps, ... }@attrs: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; @@ -45,14 +49,22 @@ nixpkgs.config.allowUnfree = true; } ) - ./hosts/${name} - ./common + ( + { pkgs, winapps, ... }: { + environment.systemPackages = [ + #winapps.packages."x86_64-linux".winapps + #winapps.packages."x86_64-linux".winapps-launcher # optional + ]; + } + ) + ./hosts/${name} + ./common ]; }; hosts = [ "template" - "nixedo" - "workstation" + "nixedo" + "workstation" ]; in { |