home/natto: split programs.nix
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		
							
								
								
									
										18
									
								
								home/natto/browser.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								home/natto/browser.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					{ pkgs, ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs = {
 | 
				
			||||||
 | 
					    firefox = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      profiles.natto = {
 | 
				
			||||||
 | 
					        name = "natto";
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    chromium = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      package = pkgs.ungoogled-chromium;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  home.sessionVariables = {
 | 
				
			||||||
 | 
					    BROWSER = "firefox";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
{ config, pkgs, lib, ... }:
 | 
					{ ... }:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  home = {
 | 
					  home = {
 | 
				
			||||||
    homeDirectory = "/home/natto";
 | 
					    homeDirectory = "/home/natto";
 | 
				
			||||||
@@ -8,12 +8,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ./email.nix
 | 
					    ./email.nix
 | 
				
			||||||
    ./programs.nix
 | 
					    ./pass.nix
 | 
				
			||||||
 | 
					    ./browser.nix
 | 
				
			||||||
 | 
					    ./pdf.nix
 | 
				
			||||||
 | 
					    ./mpv.nix
 | 
				
			||||||
 | 
					    ./foot.nix
 | 
				
			||||||
    # ./xsession.nix
 | 
					    # ./xsession.nix
 | 
				
			||||||
    ./wayland.nix
 | 
					    ./wayland.nix
 | 
				
			||||||
    ./pkgs.nix
 | 
					    ./pkgs.nix
 | 
				
			||||||
    ./stuff.nix
 | 
					    ./stuff.nix
 | 
				
			||||||
    ./emacs.nix
 | 
					 | 
				
			||||||
    ./gtk.nix
 | 
					    ./gtk.nix
 | 
				
			||||||
    ./dunst.nix
 | 
					    ./dunst.nix
 | 
				
			||||||
    ./git.nix
 | 
					    ./git.nix
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,32 +1,6 @@
 | 
				
			|||||||
{ pkgs, config, conf, ... }:
 | 
					{ conf, ... }:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  programs = {
 | 
					  programs = {
 | 
				
			||||||
    firefox = {
 | 
					 | 
				
			||||||
      enable = true;
 | 
					 | 
				
			||||||
      profiles.natto = {
 | 
					 | 
				
			||||||
        name = "natto";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    chromium = {
 | 
					 | 
				
			||||||
      enable = true;
 | 
					 | 
				
			||||||
      package = pkgs.ungoogled-chromium;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    zathura = {
 | 
					 | 
				
			||||||
      enable = true;
 | 
					 | 
				
			||||||
      extraConfig = builtins.readFile ./config/zathura/zathurarc;
 | 
					 | 
				
			||||||
      options = {
 | 
					 | 
				
			||||||
        recolor = true;
 | 
					 | 
				
			||||||
        recolor-lightcolor = "rgba(0,0,0,0)";
 | 
					 | 
				
			||||||
        default-bg = "rgba(0,0,0,0.8)";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    sioyek = {
 | 
					 | 
				
			||||||
      enable = true;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    password-store.enable = true;
 | 
					 | 
				
			||||||
    go.enable = true;
 | 
					 | 
				
			||||||
    foot = {
 | 
					    foot = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      settings = {
 | 
					      settings = {
 | 
				
			||||||
@@ -56,16 +30,5 @@
 | 
				
			|||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    mpv = {
 | 
					 | 
				
			||||||
      enable = true;
 | 
					 | 
				
			||||||
      config = {
 | 
					 | 
				
			||||||
        force-window = true;
 | 
					 | 
				
			||||||
        keep-open = true;
 | 
					 | 
				
			||||||
        save-position-on-quit = true;
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
  home.sessionVariables = {
 | 
					 | 
				
			||||||
    BROWSER = "firefox";
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
							
								
								
									
										13
									
								
								home/natto/mpv.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								home/natto/mpv.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs = {
 | 
				
			||||||
 | 
					    mpv = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      config = {
 | 
				
			||||||
 | 
					        force-window = true;
 | 
				
			||||||
 | 
					        keep-open = true;
 | 
				
			||||||
 | 
					        save-position-on-quit = true;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										6
									
								
								home/natto/pass.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								home/natto/pass.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs = {
 | 
				
			||||||
 | 
					    password-store.enable = true;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										19
									
								
								home/natto/pdf.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								home/natto/pdf.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs = {
 | 
				
			||||||
 | 
					    zathura = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      extraConfig = builtins.readFile ./config/zathura/zathurarc;
 | 
				
			||||||
 | 
					      options = {
 | 
				
			||||||
 | 
					        recolor = true;
 | 
				
			||||||
 | 
					        recolor-lightcolor = "rgba(0,0,0,0)";
 | 
				
			||||||
 | 
					        default-bg = "rgba(0,0,0,0.8)";
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    sioyek = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user