features/wine: add wine stable as system package

This commit is contained in:
2026-10-22 12:06:44 -04:00
parent 8ffa78ad75
commit dfc49fb8b1
3 changed files with 16 additions and 23 deletions
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
environment = {
systemPackages = with pkgs; [
wineWow64Packages.full
winetricks
];
sessionVariables = {
WINE = "${pkgs.wineWow64Packages.full}/bin/.wine";
WINEPREFIX = "$XDG_DATA_HOME/wine";
};
};
}
+2 -22
View File
@@ -1,5 +1,4 @@
{ {
config,
pkgs, pkgs,
lib, lib,
inputs, inputs,
@@ -17,6 +16,7 @@
../../features/sudo.nix ../../features/sudo.nix
../../features/sops.nix ../../features/sops.nix
../../features/users.nix ../../features/users.nix
../../features/wine.nix
./nix-package-manager.nix ./nix-package-manager.nix
]; ];
@@ -54,18 +54,6 @@
services = { services = {
flatpak = { flatpak = {
packages = [ packages = [
{
appId = "org.nmap.Zenmap";
origin = "flathub";
}
{
appId = "com.github.dynobo.normcap";
origin = "flathub";
}
{
appId = "com.usebottles.bottles";
origin = "flathub";
}
{ {
appId = "io.github.ungoogled_software.ungoogled_chromium"; appId = "io.github.ungoogled_software.ungoogled_chromium";
origin = "flathub"; origin = "flathub";
@@ -74,15 +62,9 @@
appId = "org.gtk.Gtk3theme.Breeze"; appId = "org.gtk.Gtk3theme.Breeze";
origin = "flathub"; origin = "flathub";
} }
{
appId = "io.mpv.Mpv";
origin = "flathub";
}
]; ];
}; };
# Configures snapshots for home subvolume.
# Requires /home/.snapshots subvolume to function.
snapper = { snapper = {
snapshotInterval = "hourly"; snapshotInterval = "hourly";
cleanupInterval = "1d"; cleanupInterval = "1d";
@@ -107,7 +89,6 @@
}; };
}; };
# Enable KMSCON DRM TTY.
kmscon = { kmscon = {
enable = true; enable = true;
config = { config = {
@@ -117,8 +98,6 @@
}; };
}; };
# Configure pipewire. Disables 32Bit ALSA since it causes build errors
# and is largely vestigial.
pipewire = { pipewire = {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;
@@ -197,6 +176,7 @@
affinity-v3 affinity-v3
libreoffice-qt libreoffice-qt
qimgv qimgv
mpv
vorta vorta
distrobox distrobox
rtk rtk
-1
View File
@@ -1,5 +1,4 @@
{ {
config,
pkgs, pkgs,
... ...
}: }: