summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-02-23 07:37:34 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-02-23 07:37:34 +0100
commite2b118b9a07bfb53203ebb503a86bdcdd6eaa457 (patch)
treed12df915ca254c3b9f5aaddb5f8f2b5574d4e604 /flake.nix
parent89395faa733da71347a4eb043ac117a844dab9b7 (diff)
flake: update
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix22
1 files changed, 17 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index dd929b3..952c1b0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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
{