top level restructure

This commit is contained in:
2026-04-22 08:25:10 -05:00
parent 846d33ac50
commit 63559c16ac
163 changed files with 0 additions and 288 deletions

View File

@@ -0,0 +1,35 @@
{ inputs, ... }: {
flake.nixosModules.default = { config, lib, pkgs, ... }: {
options.sysconfig.programs.hyprland.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.programs.hyprland.enable {
sysconfig.services.sddm.enable = lib.mkDefault true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
programs.hyprland = let
system = pkgs.stdenv.hostPlatform.system;
#pkgs-us = import inputs.nixpkgs-us { inherit system; };
in {
enable = true;
withUWSM = false;
xwayland.enable = true;
systemd.setPath.enable = true;
package = inputs.hyprland.packages.${system}.hyprland;
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
};
};
};
}