Working on reshuffling

This commit is contained in:
2026-03-19 10:45:07 +00:00
parent bebf308651
commit 7e48206cc7
33 changed files with 1570 additions and 0 deletions
@@ -0,0 +1,36 @@
{ lib, ... }:
{
flake.nixosModules.wayland = { config, pkgs, lib, ... }:
let
username = "henrov"; # <-- simpel en stabiel
in
{
options.mySystem.desktop.wayland.enable =
lib.mkEnableOption "Enable Wayland + portals";
config = lib.mkIf (config.mySystem.desktop.wayland.enable or false) {
home-manager.users.${username} = {
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
];
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
home.packages = with pkgs; [
uwsm
];
};
};
};
}