snowhawk: umu wine

This commit is contained in:
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",
"nixpkgs": "nixpkgs_2",
"repo-clone": "repo-clone",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"umu": "umu"
}
},
"rust-analyzer-src": {
@ -687,6 +688,30 @@
"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": {
"flake": false,
"locked": {

View file

@ -14,6 +14,7 @@
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
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"; };
umu = { url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1"; inputs.nixpkgs.follows = "nixpkgs"; };
};
outputs =

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, config, inputs, ... }:
{
imports = [
@ -54,7 +54,11 @@
"~/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
(writeShellScriptBin "battlenet" ''
export WINEARCH=win64
@ -67,6 +71,12 @@
})
winetricks
(writeShellScriptBin "fix-desktop" ''
systemctl --user restart xrootdatetime.service
systemctl --user restart fehbg.service
'')
ripgrep
unzip
fzf