feat: package winapps & the winapps launcher using nix

doc: document installation using Nix

fix: explicitely specify path to inquirer

fix: libvirt group is called libvirtd on nix

fix: set libvirturl for winapps-launcher

fix: refine group change sed expr

feat: add desktop file

fix: do not use source derivation

fix: use install instead of cp

fix: ensure  exists
This commit is contained in:
Oskar Manhart
2024-08-30 16:13:16 +02:00
parent 9417382ae7
commit da35923df9
5 changed files with 287 additions and 0 deletions

24
flake.nix Normal file
View File

@@ -0,0 +1,24 @@
{
description = "WinApps Nix packages & NixOS module";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
in {
formatter = pkgs.alejandra;
packages.winapps = pkgs.callPackage ./packages/winapps {};
packages.winapps-launcher = pkgs.callPackage ./packages/winapps-launcher {};
}
);
}