Compare commits
	
		
			2 commits
		
	
	
		
			82b6a01e94
			...
			1168fdb539
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1168fdb539 | |||
| 0c7c761f56 | 
					 6 changed files with 33 additions and 32 deletions
				
			
		| 
						 | 
					@ -18,9 +18,9 @@
 | 
				
			||||||
        id-case = "lower";
 | 
					        id-case = "lower";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      format.markdown={
 | 
					      format.markdown = {
 | 
				
			||||||
        link-format="wiki";
 | 
					        link-format = "wiki";
 | 
				
			||||||
        hashtags=true;
 | 
					        hashtags = true;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      alias = {
 | 
					      alias = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -124,10 +124,10 @@ in {
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            Cyberchef = {
 | 
					            Cyberchef = {
 | 
				
			||||||
              icon="sh-cyberchef.svg";
 | 
					              icon = "sh-cyberchef.svg";
 | 
				
			||||||
              href="https://cyberchef.venberg.xyz";
 | 
					              href = "https://cyberchef.venberg.xyz";
 | 
				
			||||||
              siteMonitor= "https://cyberchef.venberg.xyz";
 | 
					              siteMonitor = "https://cyberchef.venberg.xyz";
 | 
				
			||||||
              description= "a data toolbox";
 | 
					              description = "a data toolbox";
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@
 | 
				
			||||||
  pkgs,
 | 
					  pkgs,
 | 
				
			||||||
  lib,
 | 
					  lib,
 | 
				
			||||||
  ...
 | 
					  ...
 | 
				
			||||||
}:let
 | 
					}: let
 | 
				
			||||||
  port="8080";
 | 
					  port = "8080";
 | 
				
			||||||
in {
 | 
					in {
 | 
				
			||||||
  systemd.services.miniserve = {
 | 
					  systemd.services.miniserve = {
 | 
				
			||||||
    wantedBy = ["multi-user.target"];
 | 
					    wantedBy = ["multi-user.target"];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
					@ -17,7 +17,7 @@ bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
 | 
				
			||||||
    nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake .#{{target}} switch
 | 
					    nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake .#{{target}} switch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
format:
 | 
					format:
 | 
				
			||||||
    nix fmt
 | 
					    nix fmt ./
 | 
				
			||||||
 | 
					
 | 
				
			||||||
home-gc:
 | 
					home-gc:
 | 
				
			||||||
    home-manager expire-generations -7days
 | 
					    home-manager expire-generations -7days
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,36 +44,37 @@
 | 
				
			||||||
          line-numbers = true;
 | 
					          line-numbers = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      # difftastic.enable=true;
 | 
					 | 
				
			||||||
      # difftastic.background="dark";
 | 
					 | 
				
			||||||
      userEmail = config.user.git.profile.email;
 | 
					      userEmail = config.user.git.profile.email;
 | 
				
			||||||
      userName = config.user.git.profile.name;
 | 
					      userName = config.user.git.profile.name;
 | 
				
			||||||
      extraConfig = {
 | 
					      extraConfig = {
 | 
				
			||||||
        init = {
 | 
					        init.defaultBranch = "main";
 | 
				
			||||||
          defaultBranch = "main";
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
        push = {
 | 
					        push = {
 | 
				
			||||||
          autoSetupRemote = true;
 | 
					          autoSetupRemote = true;
 | 
				
			||||||
          default = "current";
 | 
					          default = "simple";
 | 
				
			||||||
 | 
					          followTags = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        pull = {
 | 
					        fetch = {
 | 
				
			||||||
          ff = true;
 | 
					          prune = true;
 | 
				
			||||||
 | 
					          pruneTags = true;
 | 
				
			||||||
 | 
					          all = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        merge = {
 | 
					        pull.ff = true;
 | 
				
			||||||
          conflictstyle = "zdiff3";
 | 
					        merge.conflictstyle = "zdiff3";
 | 
				
			||||||
 | 
					        diff = {
 | 
				
			||||||
 | 
					          algorithm = "histogram";
 | 
				
			||||||
 | 
					          colorMoved = "plain";
 | 
				
			||||||
 | 
					          mnemonicPrefix = true;
 | 
				
			||||||
 | 
					          renames = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        rebase = {
 | 
					        rerere = {
 | 
				
			||||||
          autosquash = true;
 | 
					          enabled = true;
 | 
				
			||||||
        };
 | 
					          autoupdate = true;
 | 
				
			||||||
        help = {
 | 
					 | 
				
			||||||
          autocorrect = "prompt";
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
        branch = {
 | 
					 | 
				
			||||||
          sort = "-committerdate";
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
        status = {
 | 
					 | 
				
			||||||
          submodulesummary = true;
 | 
					 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					        rebase.autosquash = true;
 | 
				
			||||||
 | 
					        help.autocorrect = "prompt";
 | 
				
			||||||
 | 
					        branch.sort = "-committerdate";
 | 
				
			||||||
 | 
					        tag.sort = "version:refname";
 | 
				
			||||||
 | 
					        status.submodulesummary = true;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      includes =
 | 
					      includes =
 | 
				
			||||||
        if config.user.git.workProfile.enable
 | 
					        if config.user.git.workProfile.enable
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@
 | 
				
			||||||
    description = "A flake containing a basic latex environment";
 | 
					    description = "A flake containing a basic latex environment";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  typst = {
 | 
					  typst = {
 | 
				
			||||||
    path= ./typst;
 | 
					    path = ./typst;
 | 
				
			||||||
    description = "A flake containing a basic typst environment";
 | 
					    description = "A flake containing a basic typst environment";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue