feat: Add wine to home-manager module

This commit is contained in:
nathan mccarty 2022-07-17 23:24:27 -04:00
parent c605379efd
commit e505371006
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
3 changed files with 18 additions and 0 deletions

View File

@ -11,6 +11,7 @@ with lib; with nLib; {
./programs/emacs.nix
./programs/image-editing.nix
./programs/media.nix
./programs/wine.nix
./services/syncthing.nix
./services/email.nix
];
@ -48,6 +49,8 @@ with lib; with nLib; {
json = mkEnableOptionT "json";
# Productivity application
productivity = mkDefaultOption "Productivity applications" config.nathan.config.isDesktop;
# Wine support, disabled by default
wine = mkEnableOption "wine";
};
# Swaywm and supoorting application configuration
swaywm = {

View File

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
config = lib.mkIf config.nathan.programs.util.wine {
home.packages = with pkgs; [
proton-caller
wineWowPackages.waylandFull
];
};
}

View File

@ -10,6 +10,11 @@
config = {
isDesktop = true;
};
programs = {
util = {
wine = true;
};
};
};
# Sway outputs