diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-22 11:35:38 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-22 11:35:38 +0000 |
| commit | 3f284587815fb90845bfb30ddee8d70c44208dd3 (patch) | |
| tree | a223deed20690e8035ef58791aa4eadc09269af7 | |
| parent | upgraded nixos (diff) | |
added winapps and moved back to unstable until 25.11
| -rw-r--r-- | flake.nix | 37 |
1 files changed, 29 insertions, 8 deletions
@@ -4,23 +4,32 @@ inputs = { # default nix flake imports nixpkgs = { - url = "github:nixos/nixpkgs/nixos-25.05"; # url = "github:nixos/nixpkgs/nixos-25.11"; - # url = "github:nixos/nixpkgs/nixos-unstable"; + url = "github:nixos/nixpkgs/nixos-unstable"; }; home-manager = { - url = "github:nix-community/home-manager/release-25.05"; # url = "github:nix-community/home-manager/release-25.11"; - # url = "github:nix-community/home-manager"; + url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; # custom flakes - ## nix-flatpaks - nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; + ## flatpaks + flatpaks.url = "github:gmodena/nix-flatpak/?ref=latest"; + ## winapps + winapps = { + url = "github:winapps-org/winapps"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = inputs @ { nixpkgs, home-manager, ... }: + outputs = inputs @ { + nixpkgs, + home-manager, + flatpaks, + winapps, + ... + }: let system = "x86_64-linux"; @@ -64,12 +73,24 @@ ]; ClientModules = [ - inputs.nix-flatpak.nixosModules.nix-flatpak + flatpaks.nixosModules.nix-flatpak ./modules/client ]; ServerModules = [ ./modules/server + ( + { + pkgs, + ... + }: + { + environment.systemPackages = with pkgs; [ + winapps.packages."x86_64-linux".winapps + winapps.packages."x86_64-linux".winapps-launcher # optional + ]; + } + ) ]; mkHost = { hostPath, extraModules }: |
