95 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			95 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  lib,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
{
 | 
						|
  /*
 | 
						|
    services.greetd = {
 | 
						|
    	enable = true;
 | 
						|
    	settings = {
 | 
						|
    		default_session = {
 | 
						|
    			user = username;
 | 
						|
    			command = "$HOME/.wayland-session";
 | 
						|
    		};
 | 
						|
    	};
 | 
						|
        };
 | 
						|
  */
 | 
						|
 | 
						|
  environment.etc = {
 | 
						|
    "greetd/background.png".source = ../../wallpapers/lucy_with_cat.png;
 | 
						|
    "greetd/environments".text = ''
 | 
						|
      hyprland
 | 
						|
      fish
 | 
						|
    '';
 | 
						|
 | 
						|
    /*
 | 
						|
      "greetd/wayland-sessions/hyprland.desktop".text = ''
 | 
						|
        		[Desktop Entry]
 | 
						|
        		Name=Hyprland
 | 
						|
        		Comment=Hyprland WM
 | 
						|
        		Exec=Hyprland
 | 
						|
        		Type=Application
 | 
						|
        	'';
 | 
						|
 | 
						|
      "greetd/wayland-sessions/niri.desktop".text = ''
 | 
						|
        		[Desktop Entry]
 | 
						|
        		Name=Niri
 | 
						|
        		Comment=Hyprland WM
 | 
						|
        		Exec=niri
 | 
						|
        		Type=Application
 | 
						|
        	'';
 | 
						|
    */
 | 
						|
  };
 | 
						|
 | 
						|
  programs.regreet = {
 | 
						|
    enable = true;
 | 
						|
    cageArgs = [
 | 
						|
      "-s"
 | 
						|
      "-m"
 | 
						|
      "last"
 | 
						|
    ];
 | 
						|
    settings = {
 | 
						|
      background = {
 | 
						|
        path = "/etc/greetd/background.png";
 | 
						|
        fit = "Fill";
 | 
						|
      };
 | 
						|
 | 
						|
      env.SESSION_DIRS = "$HOME/.wayland-session";
 | 
						|
 | 
						|
      GTK = {
 | 
						|
        application_prefer_dark_theme = true;
 | 
						|
        cursor_theme_name = "Adwaita";
 | 
						|
        font_name = lib.mkForce "FiraCodeNerdFontProto 12";
 | 
						|
        icon_theme_name = lib.mkForce "materialdesignicons";
 | 
						|
        theme_name = "Adwaita";
 | 
						|
      };
 | 
						|
 | 
						|
      commands = {
 | 
						|
        reboot = [
 | 
						|
          "systemctl"
 | 
						|
          "reboot"
 | 
						|
        ];
 | 
						|
        poweroff = [
 | 
						|
          "systemctl"
 | 
						|
          "poweroff"
 | 
						|
        ];
 | 
						|
        x11_prefix = [
 | 
						|
          "startx"
 | 
						|
          "/usr/bin/env"
 | 
						|
        ];
 | 
						|
      };
 | 
						|
 | 
						|
      appearance = {
 | 
						|
        greeting_msg = "Hey there, Master!";
 | 
						|
      };
 | 
						|
 | 
						|
      widget.clock = {
 | 
						|
        format = "%A %d.%m.%Y %T";
 | 
						|
        resolution = "500ms";
 | 
						|
        timezone = "Europe/Berlin";
 | 
						|
        label_width = 150;
 | 
						|
      };
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |