Desktop usability adjustments #1
@@ -6,6 +6,7 @@
 | 
				
			|||||||
        ./hardware-configuration.nix
 | 
					        ./hardware-configuration.nix
 | 
				
			||||||
        ../../modules/nixos/bluetooth.nix
 | 
					        ../../modules/nixos/bluetooth.nix
 | 
				
			||||||
        ../../modules/nixos/flakes.nix
 | 
					        ../../modules/nixos/flakes.nix
 | 
				
			||||||
 | 
					        ../../modules/nixos/flatpak.nix
 | 
				
			||||||
        ../../modules/nixos/fonts.nix
 | 
					        ../../modules/nixos/fonts.nix
 | 
				
			||||||
        ../../modules/nixos/hyprland.nix
 | 
					        ../../modules/nixos/hyprland.nix
 | 
				
			||||||
        ../../modules/nixos/monitoring.nix
 | 
					        ../../modules/nixos/monitoring.nix
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,9 +34,9 @@
 | 
				
			|||||||
      # visual
 | 
					      # visual
 | 
				
			||||||
      "window.menuBarVisibility" = "toggle";
 | 
					      "window.menuBarVisibility" = "toggle";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace";
 | 
					      "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace";
 | 
				
			||||||
      # "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono";
 | 
					      "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono";
 | 
				
			||||||
      # "workbench.iconTheme" = "vs-seti";
 | 
					      "workbench.iconTheme" = "vs-seti";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # telemetry
 | 
					      # telemetry
 | 
				
			||||||
      "telemetry.enableCrashReporter" = false;
 | 
					      "telemetry.enableCrashReporter" = false;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								modules/home-manager/documents.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								modules/home-manager/documents.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{pkgs, ...}:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  home.packages = [
 | 
				
			||||||
 | 
					    # pdf viewer
 | 
				
			||||||
 | 
					    pkgs.evince
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,4 +1,8 @@
 | 
				
			|||||||
{ lib, pkgs, ... }: {
 | 
					{
 | 
				
			||||||
 | 
					  lib, pkgs, ...
 | 
				
			||||||
 | 
					}:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  # requires that flatpaks be enabled in the system configuration as well
 | 
				
			||||||
  services.flatpak.enable = true;
 | 
					  services.flatpak.enable = true;
 | 
				
			||||||
  services.flatpak.update.auto.enable = false;
 | 
					  services.flatpak.update.auto.enable = false;
 | 
				
			||||||
  services.flatpak.uninstallUnmanaged = false;
 | 
					  services.flatpak.uninstallUnmanaged = false;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,18 @@
 | 
				
			|||||||
{pkgs, lib, ...}:
 | 
					{pkgs, lib, ...}:
 | 
				
			||||||
 | 
					let
 | 
				
			||||||
 | 
					  stylix = import ./stylix.nix { inherit pkgs; };
 | 
				
			||||||
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    programs.kitty = {
 | 
					    programs.kitty = {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        shellIntegration.enableFishIntegration = true;
 | 
					        shellIntegration.enableFishIntegration = true;
 | 
				
			||||||
        settings = {
 | 
					        settings = {
 | 
				
			||||||
            # # import the colors from the stylix theme, but keep the background black
 | 
					            # # import the colors from the stylix theme, but keep the background black
 | 
				
			||||||
 | 
					            # color0 = stylix.colors.background;
 | 
				
			||||||
 | 
					            # color1 = stylix.base16Scheme.base01;
 | 
				
			||||||
 | 
					            # color2 = stylix.colors.green;
 | 
				
			||||||
 | 
					            # color3 = stylix.colors.yellow;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # color0 = stylix.colors.background;
 | 
					            # color0 = stylix.colors.background;
 | 
				
			||||||
            # color1 = stylix.colors.red;
 | 
					            # color1 = stylix.colors.red;
 | 
				
			||||||
            # color2 = stylix.colors.green;
 | 
					            # color2 = stylix.colors.green;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -82,12 +82,12 @@
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    stylix.targets = {
 | 
					    stylix.targets = {
 | 
				
			||||||
        vscode.enable = true;
 | 
					 | 
				
			||||||
        hyprpaper.enable = true;
 | 
					        hyprpaper.enable = true;
 | 
				
			||||||
        hyprlock.enable = true;
 | 
					        hyprlock.enable = true;
 | 
				
			||||||
        wofi.enable = true;
 | 
					        wofi.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # disabled because they overwrite too many settings
 | 
					        # disabled because they overwrite too many settings
 | 
				
			||||||
 | 
					        # vscode.enable = true;
 | 
				
			||||||
        # waybar.enable = true;
 | 
					        # waybar.enable = true;
 | 
				
			||||||
        # kitty.enable = true;
 | 
					        # kitty.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,13 +15,13 @@ in {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    settings = {
 | 
					    settings = {
 | 
				
			||||||
      allow_markup = true;
 | 
					      allow_markup = true;
 | 
				
			||||||
      width = 450;
 | 
					      width = 500;
 | 
				
			||||||
 | 
					      height = 400;
 | 
				
			||||||
      show = "drun";
 | 
					      show = "drun";
 | 
				
			||||||
      prompt = "Apps";
 | 
					      prompt = "Launch...";
 | 
				
			||||||
      normal_window = true;
 | 
					      normal_window = true;
 | 
				
			||||||
      layer = "top";
 | 
					      layer = "top";
 | 
				
			||||||
      term = "foot";
 | 
					      term = "foot";
 | 
				
			||||||
      height = "305px";
 | 
					 | 
				
			||||||
      orientation = "vertical";
 | 
					      orientation = "vertical";
 | 
				
			||||||
      halign = "fill";
 | 
					      halign = "fill";
 | 
				
			||||||
      line_wrap = "off";
 | 
					      line_wrap = "off";
 | 
				
			||||||
@@ -40,66 +40,5 @@ in {
 | 
				
			|||||||
      key_expand = "Tab";
 | 
					      key_expand = "Tab";
 | 
				
			||||||
      key_exit = "Escape";
 | 
					      key_exit = "Escape";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					 | 
				
			||||||
    style = ''
 | 
					 | 
				
			||||||
        * {
 | 
					 | 
				
			||||||
          font-family: "${font}";
 | 
					 | 
				
			||||||
          font-weight: 500;
 | 
					 | 
				
			||||||
          font-size: ${toString font-size}px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #window {
 | 
					 | 
				
			||||||
          background-color: ${background};
 | 
					 | 
				
			||||||
          color: ${foreground};
 | 
					 | 
				
			||||||
          border-radius: ${toString rounding}px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #outer-box {
 | 
					 | 
				
			||||||
          padding: 20px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #input {
 | 
					 | 
				
			||||||
          background-color: ${background-alt};
 | 
					 | 
				
			||||||
          border: 0px solid ${accent};
 | 
					 | 
				
			||||||
          color: ${foreground};
 | 
					 | 
				
			||||||
          padding: 8px 12px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #scroll {
 | 
					 | 
				
			||||||
          margin-top: 20px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #inner-box {}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #img {
 | 
					 | 
				
			||||||
          padding-right: 8px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #text {
 | 
					 | 
				
			||||||
          color: ${foreground};
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #text:selected {
 | 
					 | 
				
			||||||
          color: ${foreground};
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #entry {
 | 
					 | 
				
			||||||
          padding: 6px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #entry:selected {
 | 
					 | 
				
			||||||
          background-color: ${accent};
 | 
					 | 
				
			||||||
          color: ${foreground};
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #unselected {}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #selected {}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        #input,
 | 
					 | 
				
			||||||
        #entry:selected {
 | 
					 | 
				
			||||||
          border-radius: ${toString rounding}px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      '';
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										9
									
								
								modules/nixos/flatpak.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								modules/nixos/flatpak.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  config,
 | 
				
			||||||
 | 
					  lib,
 | 
				
			||||||
 | 
					  pkgs,
 | 
				
			||||||
 | 
					  ...
 | 
				
			||||||
 | 
					}:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  services.flatpak.enable = true;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -5,6 +5,7 @@ with lib.hm.gvariant;
 | 
				
			|||||||
    ../modules/home-manager/browser.nix
 | 
					    ../modules/home-manager/browser.nix
 | 
				
			||||||
    ../modules/home-manager/code.nix
 | 
					    ../modules/home-manager/code.nix
 | 
				
			||||||
    ../modules/home-manager/dev.nix
 | 
					    ../modules/home-manager/dev.nix
 | 
				
			||||||
 | 
					    ../modules/home-manager/documents.nix
 | 
				
			||||||
    ../modules/home-manager/fish.nix
 | 
					    ../modules/home-manager/fish.nix
 | 
				
			||||||
    ../modules/home-manager/flatpaks.nix
 | 
					    ../modules/home-manager/flatpaks.nix
 | 
				
			||||||
    ../modules/home-manager/hypr
 | 
					    ../modules/home-manager/hypr
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user