Regenerated

This commit is contained in:
2026-03-19 20:33:24 +00:00
parent a5c3d6799f
commit 93c0ce2f01
30 changed files with 0 additions and 1501 deletions
@@ -1,44 +0,0 @@
{ lib, config, ... }:
let
# --- Module variables ---
moduleName = "wayland";
username = config.defaultUser or "henrov";
# Top-level toggle
enableProgram = config.enableWayland or false;
in
{
# --- Option ---
options.enableWayland =
lib.mkEnableOption "Enable Wayland support";
# --- Config ---
config = lib.mkIf enableProgram {
# Enable XDG portals (required for Wayland apps)
xdg.portal.enable = true;
# Home Manager configuration
home-manager.users.${username} = {
xdg.portal = {
enable = true;
# Only unavoidable pkgs reference
extraPortals = [
config.pkgs.xdg-desktop-portal-hyprland
];
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
# Wayland-related user package
home.packages = [
config.pkgs.uwsm
];
};
};
}