forked from fabian/nix
		
	it's forkin' time config de fabian
This commit is contained in:
		
							parent
							
								
									98a32736d6
								
							
						
					
					
						commit
						b77f64cc27
					
				
					 46 changed files with 119 additions and 1326 deletions
				
			
		|  | @ -10,12 +10,12 @@ in { | |||
|   options.local.services.accounts.enable = mkEnableOption "accounts settings"; | ||||
|   config = mkIf cfg.enable { | ||||
|     accounts.email.accounts = { | ||||
|       "fabian@posixlycorrect.com" = { | ||||
|         address = "fabian@posixlycorrect.com"; | ||||
|         userName = "fabianmontero@fastmail.com"; | ||||
|         realName = "fabian"; | ||||
|       "josescalante9808@gmail.com" = { | ||||
|         address = "josescalante9808@gmail..com"; | ||||
|         userName = "josescalante9808"; | ||||
|         realName = "josem"; | ||||
|         primary = true; | ||||
|         flavor = "fastmail.com"; | ||||
|         flavor = "gmail.com"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
|  |  | |||
|  | @ -44,8 +44,8 @@ in { | |||
| 
 | ||||
|     programs.git = { | ||||
|       enable = true; | ||||
|       userEmail = "fabian@posixlycorrect.com"; | ||||
|       userName = "Fabian Montero"; | ||||
|       userEmail = "josescalante9808@gmail.com"; | ||||
|       userName = "josEscalante"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
|  | @ -13,7 +13,6 @@ | |||
|     ./firefox.nix | ||||
|     ./gui | ||||
|     ./zsh | ||||
|     ./gpg.nix | ||||
|     ./defaultDesktopPack.nix | ||||
|     ./accounts.nix | ||||
|     ./syncthing.nix | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ | |||
|   zstyle ':completion:*' original true | ||||
|   zstyle ':completion:*' preserve-prefix '//[^/]##/' | ||||
|   zstyle ':completion:*' verbose true | ||||
|   zstyle :compinstall filename '/home/fabian/.zshrc' | ||||
|   zstyle :compinstall filename '/home/chem/.zshrc' | ||||
| 
 | ||||
|   autoload -Uz compinit | ||||
|   compinit | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ | |||
|   nix.registry = { | ||||
|     "system".to = { | ||||
|       type = "path"; | ||||
|       path = "/home/fabian/nix"; | ||||
|       path = "/home/chem/nix"; | ||||
|     }; | ||||
| 
 | ||||
|     "nixpkgs".flake = flakes.nixpkgs; | ||||
|  | @ -30,10 +30,6 @@ | |||
|       }; | ||||
|       accounts.enable = true; | ||||
|       deepState.enable = true; | ||||
|       gpg = { | ||||
|         enable = true; | ||||
|         defaultKey = "7AA277E604A4173916BBB4E91FFAC35E1798174F"; | ||||
|       }; | ||||
|       syncthing.enable = true; | ||||
|     }; | ||||
| 
 | ||||
|  | @ -82,8 +78,8 @@ | |||
|       virt-manager | ||||
|     ]; | ||||
| 
 | ||||
|     username = "fabian"; | ||||
|     homeDirectory = "/home/fabian"; | ||||
|     username = "chem"; | ||||
|     homeDirectory = "/home/chem"; | ||||
|   }; | ||||
| 
 | ||||
|   programs.home-manager.enable = true; | ||||
|  | @ -5,6 +5,6 @@ | |||
| }: | ||||
| with lib; { | ||||
|   systemd.user.tmpfiles.rules = [ | ||||
|     "d %t/tmp 0700 fabian fabian 24h" | ||||
|     "d %t/tmp 0700 chem chem 24h" | ||||
|   ]; | ||||
| } | ||||
|  | @ -1,68 +0,0 @@ | |||
| { | ||||
|   flakes, | ||||
|   config, | ||||
|   pkgs, | ||||
|   lib, | ||||
|   ... | ||||
| }: { | ||||
|   imports = [ | ||||
|     ./systemd | ||||
|     ./isolation.nix | ||||
|   ]; | ||||
| 
 | ||||
|   nix.registry = { | ||||
|     "system".to = { | ||||
|       type = "path"; | ||||
|       path = "/home/fabian/nix"; | ||||
|     }; | ||||
| 
 | ||||
|     "nixpkgs".flake = flakes.nixpkgs; | ||||
|     "unstable".flake = flakes.unstable; | ||||
|   }; | ||||
| 
 | ||||
|   local = { | ||||
|     baseline.enable = true; | ||||
| 
 | ||||
|     services = { | ||||
|       zsh = { | ||||
|         enable = true; | ||||
|         prompt = "%B[%~] \${vcs_info_msg_0_}%b"; | ||||
|       }; | ||||
|       accounts.enable = true; | ||||
|       gpg = { | ||||
|         enable = true; | ||||
|         defaultKey = "7206D8EE2474F3DF18EA876F0EC1691FF8C1A81F"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     apps = { | ||||
|       terminal.enable = true; | ||||
|       neovim.enable = true; | ||||
|       gaming.enable = true; | ||||
|       yubikey.enable = true; | ||||
|       browsers.enable = true; | ||||
|       defaultDesktopPack.enable = true; | ||||
|     }; | ||||
| 
 | ||||
|     gui = { | ||||
|       enable = true; | ||||
|       monitors = { | ||||
|         eDP-1 = { | ||||
|           width = "1920"; | ||||
|           height = "1080"; | ||||
|           rate = "60.00"; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   home = { | ||||
|     packages = with pkgs; [ | ||||
|     ]; | ||||
| 
 | ||||
|     username = "fabian"; | ||||
|     homeDirectory = "/home/fabian"; | ||||
|   }; | ||||
| 
 | ||||
|   programs.home-manager.enable = true; | ||||
| } | ||||
|  | @ -1,22 +0,0 @@ | |||
| { | ||||
|   pkgs, | ||||
|   config, | ||||
|   lib, | ||||
|   ... | ||||
| }: | ||||
| with lib; { | ||||
|   home.isolation = { | ||||
|     enable = true; | ||||
|     btrfsSupport = true; | ||||
|     defaults = { | ||||
|       static = true; | ||||
|       bindHome = "home/"; | ||||
|       persist = { | ||||
|         base = "shenvs"; | ||||
|         btrfs = true; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     modulesUnder = ./shenvs; | ||||
|   }; | ||||
| } | ||||
|  | @ -1,13 +0,0 @@ | |||
| {pkgs, ...}: { | ||||
|   static = true; | ||||
| 
 | ||||
|   packages = with pkgs; [ | ||||
|     binutils | ||||
|     cmake | ||||
|     curl | ||||
|     gdb | ||||
|     gnumake | ||||
|     rustup | ||||
|     valgrind | ||||
|   ]; | ||||
| } | ||||
|  | @ -1,11 +0,0 @@ | |||
| {pkgs, ...}: { | ||||
|   static = true; | ||||
| 
 | ||||
|   packages = with pkgs; [ | ||||
|     pipenv | ||||
|     (python310.withPackages (packages: | ||||
|       with packages; [ | ||||
|         setuptools | ||||
|       ])) | ||||
|   ]; | ||||
| } | ||||
|  | @ -1,10 +0,0 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| with lib; { | ||||
|   systemd.user.tmpfiles.rules = [ | ||||
|     "d %t/tmp 0700 fabian fabian 24h" | ||||
|   ]; | ||||
| } | ||||
|  | @ -1,44 +0,0 @@ | |||
| { | ||||
|   config, | ||||
|   pkgs, | ||||
|   lib, | ||||
|   flakes, | ||||
|   ... | ||||
| }: | ||||
| with lib; { | ||||
|   imports = [ | ||||
|   ]; | ||||
| 
 | ||||
|   nix.registry = { | ||||
|     "system".to = { | ||||
|       type = "path"; | ||||
|       path = "/home/fabian/nix"; | ||||
|     }; | ||||
| 
 | ||||
|     "nixpkgs".flake = flakes.nixpkgs; | ||||
|     "unstable".flake = flakes.unstable; | ||||
|   }; | ||||
| 
 | ||||
|   local = { | ||||
|     baseline.enable = true; | ||||
| 
 | ||||
|     services = { | ||||
|       zsh = { | ||||
|         enable = true; | ||||
|         prompt = "%B<%~> \${vcs_info_msg_0_}%b"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     apps = { | ||||
|       neovim.enable = true; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   home = { | ||||
|     packages = with pkgs; [ | ||||
|     ]; | ||||
| 
 | ||||
|     username = "fabian"; | ||||
|     homeDirectory = "/home/fabian"; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue