profile: format
This commit is contained in:
		
							parent
							
								
									a19fbdb47d
								
							
						
					
					
						commit
						3123abee3a
					
				@ -2,9 +2,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  cfg = config.profiles.base;
 | 
					  cfg = config.profiles.base;
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
  helixDesktop = pkgs.makeDesktopItem {
 | 
					  helixDesktop = pkgs.makeDesktopItem {
 | 
				
			||||||
    name  = "Helix";
 | 
					    name = "Helix";
 | 
				
			||||||
    type = "Application";
 | 
					    type = "Application";
 | 
				
			||||||
    desktopName = "Helix";
 | 
					    desktopName = "Helix";
 | 
				
			||||||
    genericName = "Text Editor";
 | 
					    genericName = "Text Editor";
 | 
				
			||||||
@ -17,15 +17,14 @@ let
 | 
				
			|||||||
    keywords = [ "Text" "editor" ];
 | 
					    keywords = [ "Text" "editor" ];
 | 
				
			||||||
    startupNotify = false;
 | 
					    startupNotify = false;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					in
 | 
				
			||||||
in {
 | 
					{
 | 
				
			||||||
 | 
					 | 
				
			||||||
  options.machine = {
 | 
					  options.machine = {
 | 
				
			||||||
    name = lib.mkOption {
 | 
					    name = lib.mkOption {
 | 
				
			||||||
      type = lib.types.str;
 | 
					      type = lib.types.str;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    eth = lib.mkOption {};
 | 
					    eth = lib.mkOption { };
 | 
				
			||||||
    wlan = lib.mkOption {};
 | 
					    wlan = lib.mkOption { };
 | 
				
			||||||
    secondary-fs = lib.mkOption {
 | 
					    secondary-fs = lib.mkOption {
 | 
				
			||||||
      type = lib.types.nullOr lib.types.nonEmptyStr;
 | 
					      type = lib.types.nullOr lib.types.nonEmptyStr;
 | 
				
			||||||
      default = null;
 | 
					      default = null;
 | 
				
			||||||
@ -47,7 +46,7 @@ in {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      rnix-lsp
 | 
					      rnix-lsp
 | 
				
			||||||
      helixDesktop
 | 
					      helixDesktop
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
      ldns
 | 
					      ldns
 | 
				
			||||||
      mtr
 | 
					      mtr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -57,7 +56,7 @@ in {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      file
 | 
					      file
 | 
				
			||||||
      tmux
 | 
					      tmux
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
      unzip
 | 
					      unzip
 | 
				
			||||||
      p7zip
 | 
					      p7zip
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -76,10 +75,12 @@ in {
 | 
				
			|||||||
      mpv
 | 
					      mpv
 | 
				
			||||||
      sxiv
 | 
					      sxiv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      dolphin plasma5Packages.dolphin-plugins
 | 
					      dolphin
 | 
				
			||||||
 | 
					      plasma5Packages.dolphin-plugins
 | 
				
			||||||
      ffmpegthumbs
 | 
					      ffmpegthumbs
 | 
				
			||||||
      plasma5Packages.kdegraphics-thumbnailers
 | 
					      plasma5Packages.kdegraphics-thumbnailers
 | 
				
			||||||
      plasma5Packages.kio plasma5Packages.kio-extras
 | 
					      plasma5Packages.kio
 | 
				
			||||||
 | 
					      plasma5Packages.kio-extras
 | 
				
			||||||
      krename
 | 
					      krename
 | 
				
			||||||
      konsole # https://bugs.kde.org/show_bug.cgi?id=407990 reeee
 | 
					      konsole # https://bugs.kde.org/show_bug.cgi?id=407990 reeee
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -90,8 +91,8 @@ in {
 | 
				
			|||||||
    ] ++ lib.optionals (config.profiles.gui.enable && cfg.plus) [
 | 
					    ] ++ lib.optionals (config.profiles.gui.enable && cfg.plus) [
 | 
				
			||||||
      mumble
 | 
					      mumble
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#      texlive.combined.scheme-full
 | 
					      #      texlive.combined.scheme-full
 | 
				
			||||||
#      kile
 | 
					      #      kile
 | 
				
			||||||
      libreoffice
 | 
					      libreoffice
 | 
				
			||||||
      thunderbird
 | 
					      thunderbird
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -129,7 +130,7 @@ in {
 | 
				
			|||||||
          };
 | 
					          };
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      extensions = with pkgs.nur.repos.rycee.firefox-addons; [ bitwarden cookies-txt https-everywhere metamask no-pdf-download sponsorblock ublock-origin  ];
 | 
					      extensions = with pkgs.nur.repos.rycee.firefox-addons; [ bitwarden cookies-txt https-everywhere metamask no-pdf-download sponsorblock ublock-origin ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    programs.obs-studio.enable = (config.profiles.gui.enable && cfg.plus);
 | 
					    programs.obs-studio.enable = (config.profiles.gui.enable && cfg.plus);
 | 
				
			||||||
@ -163,8 +164,8 @@ in {
 | 
				
			|||||||
        n = "!git commit --all --amend --no-edit && git rc";
 | 
					        n = "!git commit --all --amend --no-edit && git rc";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      extraConfig = {
 | 
					      extraConfig = {
 | 
				
			||||||
         pull.rebase = true;
 | 
					        pull.rebase = true;
 | 
				
			||||||
         sequence.editor = "${pkgs.git-interactive-rebase-tool}/bin/interactive-rebase-tool";
 | 
					        sequence.editor = "${pkgs.git-interactive-rebase-tool}/bin/interactive-rebase-tool";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      delta.enable = true;
 | 
					      delta.enable = true;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
@ -212,7 +213,7 @@ in {
 | 
				
			|||||||
    home.sessionVariables = {
 | 
					    home.sessionVariables = {
 | 
				
			||||||
      EDITOR = "hx";
 | 
					      EDITOR = "hx";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
    xdg.mimeApps = {
 | 
					    xdg.mimeApps = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      defaultApplications = {
 | 
					      defaultApplications = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user