snowhawk: umu wine

main
Zynh Ludwig 2024-10-26 15:33:20 -07:00
parent 3a79f2d53a
commit 28573bd36d
3 changed files with 39 additions and 3 deletions

View File

@ -631,7 +631,8 @@
"niri": "niri", "niri": "niri",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"repo-clone": "repo-clone", "repo-clone": "repo-clone",
"sops-nix": "sops-nix" "sops-nix": "sops-nix",
"umu": "umu"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {
@ -687,6 +688,30 @@
"type": "github" "type": "github"
} }
}, },
"umu": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"dir": "packaging/nix",
"lastModified": 1729665556,
"narHash": "sha256-eTIvUa/cnwFaR8Em8AfkmgF7wK/d5gyPcWnYH0e+Pdw=",
"ref": "refs/heads/main",
"rev": "6e8e53c452f06c9932fb9dd9130149414416ade3",
"revCount": 823,
"submodules": true,
"type": "git",
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
},
"original": {
"dir": "packaging/nix",
"submodules": true,
"type": "git",
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
}
},
"xwayland-satellite-stable": { "xwayland-satellite-stable": {
"flake": false, "flake": false,
"locked": { "locked": {

View File

@ -14,6 +14,7 @@
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone"; repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; }; fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; };
backgrounds = { url = "git+https://git.zynh.me/Zynh0722/backgrounds"; inputs.nixpkgs.follows = "nixpkgs"; }; backgrounds = { url = "git+https://git.zynh.me/Zynh0722/backgrounds"; inputs.nixpkgs.follows = "nixpkgs"; };
umu = { url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1"; inputs.nixpkgs.follows = "nixpkgs"; };
}; };
outputs = outputs =

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, config, inputs, ... }:
{ {
imports = [ imports = [
@ -54,7 +54,11 @@
"~/obsidian" "~/obsidian"
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; let
umu = inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; };
in
[
umu
lutris lutris
(writeShellScriptBin "battlenet" '' (writeShellScriptBin "battlenet" ''
export WINEARCH=win64 export WINEARCH=win64
@ -67,6 +71,12 @@
}) })
winetricks winetricks
(writeShellScriptBin "fix-desktop" ''
systemctl --user restart xrootdatetime.service
systemctl --user restart fehbg.service
'')
ripgrep ripgrep
unzip unzip
fzf fzf