feat: Add wine to home-manager module
This commit is contained in:
parent
c605379efd
commit
e505371006
|
@ -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 = {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkIf config.nathan.programs.util.wine {
|
||||
home.packages = with pkgs; [
|
||||
proton-caller
|
||||
wineWowPackages.waylandFull
|
||||
];
|
||||
};
|
||||
}
|
|
@ -10,6 +10,11 @@
|
|||
config = {
|
||||
isDesktop = true;
|
||||
};
|
||||
programs = {
|
||||
util = {
|
||||
wine = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Sway outputs
|
||||
|
|
Loading…
Reference in New Issue