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/emacs.nix
|
||||||
./programs/image-editing.nix
|
./programs/image-editing.nix
|
||||||
./programs/media.nix
|
./programs/media.nix
|
||||||
|
./programs/wine.nix
|
||||||
./services/syncthing.nix
|
./services/syncthing.nix
|
||||||
./services/email.nix
|
./services/email.nix
|
||||||
];
|
];
|
||||||
|
@ -48,6 +49,8 @@ with lib; with nLib; {
|
||||||
json = mkEnableOptionT "json";
|
json = mkEnableOptionT "json";
|
||||||
# Productivity application
|
# Productivity application
|
||||||
productivity = mkDefaultOption "Productivity applications" config.nathan.config.isDesktop;
|
productivity = mkDefaultOption "Productivity applications" config.nathan.config.isDesktop;
|
||||||
|
# Wine support, disabled by default
|
||||||
|
wine = mkEnableOption "wine";
|
||||||
};
|
};
|
||||||
# Swaywm and supoorting application configuration
|
# Swaywm and supoorting application configuration
|
||||||
swaywm = {
|
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 = {
|
config = {
|
||||||
isDesktop = true;
|
isDesktop = true;
|
||||||
};
|
};
|
||||||
|
programs = {
|
||||||
|
util = {
|
||||||
|
wine = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Sway outputs
|
# Sway outputs
|
||||||
|
|
Loading…
Reference in New Issue