feat: move some data into info.toml
This commit is contained in:
		
							parent
							
								
									22b73648d5
								
							
						
					
					
						commit
						08348908f5
					
				
					 3 changed files with 31 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,7 @@
 | 
			
		|||
      system:
 | 
			
		||||
      let
 | 
			
		||||
        pkgs = import inputs.nixpkgs { inherit system; };
 | 
			
		||||
        inherit (pkgs) lib;
 | 
			
		||||
 | 
			
		||||
        typixLib = inputs.typix.lib.${system};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -34,7 +35,13 @@
 | 
			
		|||
          '';
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        src = typixLib.cleanTypstSource ./.;
 | 
			
		||||
        src = lib.fileset.toSource {
 | 
			
		||||
          root = ./.;
 | 
			
		||||
          fileset = lib.fileset.unions [
 | 
			
		||||
            (lib.fileset.fromSource (typixLib.cleanTypstSource ./.))
 | 
			
		||||
            ./src/info.toml
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
        commonArgs = {
 | 
			
		||||
          typstSource = "src/main.typ";
 | 
			
		||||
          typstOutput = "out/main.pdf";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										13
									
								
								src/info.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/info.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
[personal]
 | 
			
		||||
name = "Felix Schröter"
 | 
			
		||||
title = "Senior Software Engineer & Tech Lead"
 | 
			
		||||
location = "Lüneburg, Germany"
 | 
			
		||||
email = "dev@felschr.com"
 | 
			
		||||
github = "github.com/felschr"
 | 
			
		||||
linkedin = "linkedin.com/in/schroeter"
 | 
			
		||||
website = "felschr.com"
 | 
			
		||||
 | 
			
		||||
[layout]
 | 
			
		||||
font = "Work Sans"
 | 
			
		||||
paper = "a4"
 | 
			
		||||
accent_color = "#246a48"
 | 
			
		||||
							
								
								
									
										25
									
								
								src/main.typ
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								src/main.typ
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,22 +1,17 @@
 | 
			
		|||
#import "lib/main.typ": *
 | 
			
		||||
 | 
			
		||||
#let name = "Felix Schröter"
 | 
			
		||||
#let location = "Lüneburg, Germany"
 | 
			
		||||
#let email = "dev@felschr.com"
 | 
			
		||||
#let github = "github.com/felschr"
 | 
			
		||||
#let linkedin = "linkedin.com/in/schroeter"
 | 
			
		||||
#let personal-site = "felschr.com"
 | 
			
		||||
#let info = toml("info.toml")
 | 
			
		||||
 | 
			
		||||
#show: resume.with(
 | 
			
		||||
  author: name,
 | 
			
		||||
  location: location,
 | 
			
		||||
  email: email,
 | 
			
		||||
  github: github,
 | 
			
		||||
  linkedin: linkedin,
 | 
			
		||||
  personal-site: personal-site,
 | 
			
		||||
  accent-color: "#26428b",
 | 
			
		||||
  font: "New Computer Modern",
 | 
			
		||||
  paper: "a4",
 | 
			
		||||
  author: info.personal.name,
 | 
			
		||||
  location: info.personal.location,
 | 
			
		||||
  email: info.personal.email,
 | 
			
		||||
  github: info.personal.github,
 | 
			
		||||
  linkedin: info.personal.linkedin,
 | 
			
		||||
  personal-site: info.personal.website,
 | 
			
		||||
  accent-color: info.layout.accent_color,
 | 
			
		||||
  font: info.layout.font,
 | 
			
		||||
  paper: info.layout.paper,
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
== Work Experience
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue