workstation | disable wine for loki, added quickemu/quickgui for kvm roles
This commit is contained in:
parent
2d87a09a99
commit
a61da48d68
4 changed files with 18 additions and 1 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
kmscon.enable = true;
|
kmscon.enable = true;
|
||||||
kvm.enable = true;
|
kvm.enable = true;
|
||||||
games.enable = true;
|
games.enable = true;
|
||||||
|
# wine.enable = false;
|
||||||
};
|
};
|
||||||
wm = {
|
wm = {
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ in {
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./upgrade-diff.nix
|
./upgrade-diff.nix
|
||||||
./kmscon.nix
|
./kmscon.nix
|
||||||
|
./wine.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ in {
|
||||||
options.roles.kvm = { enable = mkEnableOption "roles kvm"; };
|
options.roles.kvm = { enable = mkEnableOption "roles kvm"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
environment.systemPackages = with pkgs; [ gnome-boxes ];
|
environment.systemPackages = with pkgs; [ gnome-boxes quickgui quickemu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
15
hosts/workstation/wine.nix
Normal file
15
hosts/workstation/wine.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs, inputs, config, lib, ... }:
|
||||||
|
with lib;
|
||||||
|
let cfg = config.roles.wine;
|
||||||
|
in {
|
||||||
|
options.roles.wine = {
|
||||||
|
enable = mkEnableOption "roles wine";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home-manager.users.don.home.packages = with pkgs; [
|
||||||
|
# wineWowPackages.stable
|
||||||
|
wineWowPackages.waylandFull
|
||||||
|
winetricks
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue