All checks were successful
		
		
	
	Check flake / build-amd64-linux (push) Successful in 1m0s
				
			
		
			
				
	
	
		
			38 lines
		
	
	
		
			638 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			638 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  pkgs,
 | 
						|
  config,
 | 
						|
  lib,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib)
 | 
						|
    mkEnableOption
 | 
						|
    mkIf
 | 
						|
    ;
 | 
						|
  cfg = config.modules.system.desktop.hyprland;
 | 
						|
in
 | 
						|
{
 | 
						|
  options.modules.system.desktop.hyprland.enable = mkEnableOption "hyprland";
 | 
						|
 | 
						|
  config = mkIf cfg.enable {
 | 
						|
    networking.networkmanager.enable = true;
 | 
						|
 | 
						|
    programs.hyprland = {
 | 
						|
      enable = true;
 | 
						|
      withUWSM = true;
 | 
						|
    };
 | 
						|
 | 
						|
    nixpkgs.config.allowUnfree = true;
 | 
						|
 | 
						|
    stylix = {
 | 
						|
      enable = true;
 | 
						|
      autoEnable = false;
 | 
						|
      image = config.lib.stylix.pixel "base00";
 | 
						|
      polarity = "dark";
 | 
						|
 | 
						|
      base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |