Added wine flake

This commit is contained in:
2025-07-24 13:27:35 +03:00
parent ca0d9d1c27
commit 20f207ddd2
3 changed files with 16 additions and 3 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1752687322, "lastModified": 1753250450,
"narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=", "narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251", "rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -15,6 +15,7 @@
../../modules/common/utils.nix ../../modules/common/utils.nix
../../modules/common/security.nix ../../modules/common/security.nix
../../modules/common/steam.nix ../../modules/common/steam.nix
../../modules/common/wine.nix
]; ];
networking.hostName = "puter"; networking.hostName = "puter";
# This will be overridden by system/default.nix # This will be overridden by system/default.nix

12
modules/common/wine.nix Normal file
View File

@@ -0,0 +1,12 @@
{
config,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
# ...
# support both 32-bit and 64-bit applications
wineWowPackages.stable
];
}