HASH 35085cb45212
DATE 2025-07-07
SUBJECT package: add wowup package
FILES 4 CHANGED
HASH 35085cb45212
DATE 2025-07-07
SUBJECT package: add wowup package
FILES 4 CHANGED
┌─ hosts/ooksdesk/default.nix ───────────────────────────────────────────────┐
│ diff --git a/hosts/ooksdesk/default.nix b/hosts/ooksdesk/default.nix │
│ index f6c583e..236a061 100644 │
│ --- a/hosts/ooksdesk/default.nix │
│ +++ b/hosts/ooksdesk/default.nix │
│ @@ -42,7 +42,7 @@ │
│ virtualization = { │
│ host = { │
│ enable = true; │
│ - ooknet-install-vm.enable = true; │
│ + ooknet-install-vm.enable = false; │
│ virt-manager.enable = true; │
│ containers.enable = true; │
│ }; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksdesk/default.nix ─────────┐
│ diff --git a/hosts/ooksdesk/default.nix b/ho │
│ sts/ooksdesk/default.nix │
│ index f6c583e..236a061 100644 │
│ --- a/hosts/ooksdesk/default.nix │
│ +++ b/hosts/ooksdesk/default.nix │
│ @@ -42,7 +42,7 @@ │
│ virtualization = { │
│ host = { │
│ enable = true; │
│ - ooknet-install-vm.enable = true; │
│ + ooknet-install-vm.enable = false; │
│ virt-manager.enable = true; │
│ containers.enable = true; │
│ }; │
└──────────────────────────────────────────────┘
┌─ modules/home/nixos/gaming/wow.nix ────────────────────────────────────────┐
│ diff --git a/modules/home/nixos/gaming/wow.nix b/modules/home/nixos/gaming/wow.nix │
│ index 0c82934..6e0af4f 100644 │
│ --- a/modules/home/nixos/gaming/wow.nix │
│ +++ b/modules/home/nixos/gaming/wow.nix │
│ @@ -1,19 +1,13 @@ │
│ { │
│ lib, │
│ osConfig, │
│ - pkgs, │
│ + self', │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
│ - inherit (builtins) attrValues; │
│ inherit (osConfig.ooknet.workstation) profiles; │
│ in { │
│ config = mkIf (elem "gaming" profiles) { │
│ - home.packages = attrValues { │
│ - inherit │
│ - (pkgs) │
│ - wowup-cf │
│ - ; │
│ - }; │
│ + home.packages = [self'.packages.wowup]; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...les/home/nixos/gaming/wow.nix ───┐
│ diff --git a/modules/home/nixos/gaming/wow.n │
│ ix b/modules/home/nixos/gaming/wow.nix │
│ index 0c82934..6e0af4f 100644 │
│ --- a/modules/home/nixos/gaming/wow.nix │
│ +++ b/modules/home/nixos/gaming/wow.nix │
│ @@ -1,19 +1,13 @@ │
│ { │
│ lib, │
│ osConfig, │
│ - pkgs, │
│ + self', │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
│ - inherit (builtins) attrValues; │
│ inherit (osConfig.ooknet.workstation) pro │
│ files; │
│ in { │
│ config = mkIf (elem "gaming" profiles) { │
│ - home.packages = attrValues { │
│ - inherit │
│ - (pkgs) │
│ - wowup-cf │
│ - ; │
│ - }; │
│ + home.packages = [self'.packages.wowup]; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
┌─ outputs/pkgs/default.nix ─────────────────────────────────────────────────┐
│ diff --git a/outputs/pkgs/default.nix b/outputs/pkgs/default.nix │
│ index fa3a172..92456d7 100644 │
│ --- a/outputs/pkgs/default.nix │
│ +++ b/outputs/pkgs/default.nix │
│ @@ -18,6 +18,7 @@ │
│ in { │
│ packages = { │
│ goki = callPackage ./goki {}; │
│ + wowup = callPackage ./wowup {}; │
│ repomix = callPackage ./repomix {}; │
│ live-buds-cli = callPackage ./live-buds-cli {}; │
│ website = callPackage ./website {}; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ outputs/pkgs/default.nix ───────────┐
│ diff --git a/outputs/pkgs/default.nix b/outp │
│ uts/pkgs/default.nix │
│ index fa3a172..92456d7 100644 │
│ --- a/outputs/pkgs/default.nix │
│ +++ b/outputs/pkgs/default.nix │
│ @@ -18,6 +18,7 @@ │
│ in { │
│ packages = { │
│ goki = callPackage ./goki {}; │
│ + wowup = callPackage ./wowup {}; │
│ repomix = callPackage ./repomix {}; │
│ live-buds-cli = callPackage ./live-bu │
│ ds-cli {}; │
│ website = callPackage ./website {}; │
└──────────────────────────────────────────────┘
┌─ outputs/pkgs/wowup/default.nix ───────────────────────────────────────────┐
│ diff --git a/outputs/pkgs/wowup/default.nix b/outputs/pkgs/wowup/default.nix │
│ new file mode 100644 │
│ index 0000000..810215d │
│ --- /dev/null │
│ +++ b/outputs/pkgs/wowup/default.nix │
│ @@ -0,0 +1,30 @@ │
│ +{ │
│ + lib, │
│ + appimageTools, │
│ + fetchurl, │
│ +}: let │
│ + version = "2.21.0-beta.3"; │
│ + pname = "wowup-cf"; │
│ + │
│ + src = fetchurl { │
│ + url = "https://github.com/WowUp/WowUp.CF/releases/download/v${version}/WowUp- │
│ CF-${version}.AppImage"; │
│ + hash = "sha256-6UN5YMahrmKBxIjMDyWz2MNLJTxYxnuhR/Y2CYf+eZE="; │
│ + }; │
│ + │
│ + appimageContents = appimageTools.extractType1 {inherit pname version src;}; │
│ +in │
│ + appimageTools.wrapType1 { │
│ + inherit pname version src; │
│ + │
│ + extraInstallCommands = '' │
│ + install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applic │
│ ations │
│ + substituteInPlace $out/share/applications/${pname}.desktop \ │
│ + --replace 'Exec=AppRun' 'Exec=${pname}' │
│ + cp -r ${appimageContents}/usr/share/icons $out/share │
│ + ''; │
│ + │
│ + meta = with lib; { │
│ + license = licenses.mit; │
│ + platforms = ["x86_64-linux"]; │
│ + }; │
│ + } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ outputs/pkgs/wowup/default.nix ─────┐
│ diff --git a/outputs/pkgs/wowup/default.nix │
│ b/outputs/pkgs/wowup/default.nix │
│ new file mode 100644 │
│ index 0000000..810215d │
│ --- /dev/null │
│ +++ b/outputs/pkgs/wowup/default.nix │
│ @@ -0,0 +1,30 @@ │
│ +{ │
│ + lib, │
│ + appimageTools, │
│ + fetchurl, │
│ +}: let │
│ + version = "2.21.0-beta.3"; │
│ + pname = "wowup-cf"; │
│ + │
│ + src = fetchurl { │
│ + url = "https://github.com/WowUp/WowUp.C │
│ F/releases/download/v${version}/WowUp-CF-${v │
│ ersion}.AppImage"; │
│ + hash = "sha256-6UN5YMahrmKBxIjMDyWz2MNL │
│ JTxYxnuhR/Y2CYf+eZE="; │
│ + }; │
│ + │
│ + appimageContents = appimageTools.extractT │
│ ype1 {inherit pname version src;}; │
│ +in │
│ + appimageTools.wrapType1 { │
│ + inherit pname version src; │
│ + │
│ + extraInstallCommands = '' │
│ + install -m 444 -D ${appimageContents} │
│ /${pname}.desktop -t $out/share/applications │
│ + substituteInPlace $out/share/applicat │
│ ions/${pname}.desktop \ │
│ + --replace 'Exec=AppRun' 'Exec=${pna │
│ me}' │
│ + cp -r ${appimageContents}/usr/share/i │
│ cons $out/share │
│ + ''; │
│ + │
│ + meta = with lib; { │
│ + license = licenses.mit; │
│ + platforms = ["x86_64-linux"]; │
│ + }; │
│ + } │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET