From 20f207ddd25de76ae8d98747e4f18930df637fdf Mon Sep 17 00:00:00 2001 From: kenny Date: Thu, 24 Jul 2025 13:27:35 +0300 Subject: [PATCH] Added wine flake --- flake.lock | 6 +++--- hosts/puter/default.nix | 1 + modules/common/wine.nix | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 modules/common/wine.nix diff --git a/flake.lock b/flake.lock index 3b37958..369f1fe 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1752687322, - "narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=", + "lastModified": 1753250450, + "narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251", + "rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf", "type": "github" }, "original": { diff --git a/hosts/puter/default.nix b/hosts/puter/default.nix index 1c1d78a..e4f82c7 100644 --- a/hosts/puter/default.nix +++ b/hosts/puter/default.nix @@ -15,6 +15,7 @@ ../../modules/common/utils.nix ../../modules/common/security.nix ../../modules/common/steam.nix + ../../modules/common/wine.nix ]; networking.hostName = "puter"; # This will be overridden by system/default.nix diff --git a/modules/common/wine.nix b/modules/common/wine.nix new file mode 100644 index 0000000..117496c --- /dev/null +++ b/modules/common/wine.nix @@ -0,0 +1,12 @@ +{ + config, + pkgs, + ... +}: { + environment.systemPackages = with pkgs; [ + # ... + + # support both 32-bit and 64-bit applications + wineWowPackages.stable + ]; +}