summaryrefslogtreecommitdiff
path: root/sys/srv/compat.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
committeradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
commit6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch)
tree3af8cf20967cf10542edd2e51232b1da70002fde /sys/srv/compat.nix
parent2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff)
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'sys/srv/compat.nix')
-rw-r--r--sys/srv/compat.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/srv/compat.nix b/sys/srv/compat.nix
deleted file mode 100644
index ab9560f..0000000
--- a/sys/srv/compat.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ config, lib, pkgs, ... }:
-let
- cfg = config.sys.srv.compat;
-in
-{
- options.sys.srv.compat.enable = lib.mkEnableOption "enables compatibility with windows & x11";
- config = lib.mkIf cfg.enable {
- programs.xwayland = {
- enable = true;
- package = pkgs.xwayland-satellite;
- };
-
- environment.sessionVariables = {
- NIXOS_OZONE_WL = "1";
- ELECTRON_ENABLE_WAYLAND = "1";
- WINE_RT_PRIO = "1";
- };
-
- environment.systemPackages = with pkgs; [
- winetricks
- wineWowPackages.waylandFull
- ];
- };
-}