Restructuring
This commit is contained in:
		
							parent
							
								
									79a809d8cb
								
							
						
					
					
						commit
						9c6bc18271
					
				
					 7 changed files with 148 additions and 184 deletions
				
			
		
							
								
								
									
										8
									
								
								nixos/modules/apps/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								nixos/modules/apps/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| { | ||||
|     imports = [ | ||||
|         ./alacritty | ||||
|         ./firefox | ||||
|         ./thunderbird | ||||
|         # ./virtualbox | ||||
|     ]; | ||||
| } | ||||
							
								
								
									
										97
									
								
								nixos/modules/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										97
									
								
								nixos/modules/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,97 @@ | |||
| { inputs, lib, config, pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|     imports = [ | ||||
|         ./apps | ||||
|         ./shells | ||||
|         ./utils | ||||
|     ]; | ||||
|      | ||||
|     # Nix Flakes | ||||
|     nix.package = pkgs.nixFlakes; | ||||
|     nix.extraOptions = '' | ||||
|         experimental-features = nix-command flakes | ||||
|         keep-outputs = true | ||||
|         keep-derivations = true | ||||
|     ''; | ||||
| 
 | ||||
|     users.users.tdpeuter = { | ||||
|         description = "Tibo De Peuter"; | ||||
|         isNormalUser = true; | ||||
|         extraGroups = [ "networkmanager" "wheel" ]; | ||||
|         initialPassword = "ChangeMe"; | ||||
|         packages = with pkgs; [ | ||||
|             home-manager | ||||
|         ]; | ||||
|         shell = pkgs.zsh; | ||||
|     }; | ||||
| 
 | ||||
|     home-manager.users.tdpeuter = { pkgs, ... }: { | ||||
|         home = { | ||||
|             username = "tdpeuter"; | ||||
|             homeDirectory = "/home/tdpeuter"; | ||||
|             stateVersion = "22.11"; | ||||
|            | ||||
|             packages = with pkgs; [ | ||||
|                 brave | ||||
|                 caprine-bin | ||||
|                 direnv | ||||
|                 discord | ||||
|                 duf | ||||
|                 git-crypt | ||||
|                 gnupg | ||||
|                 jellyfin-media-player | ||||
|                 libreoffice-fresh-unwrapped | ||||
|                 lynx | ||||
|                 mattermost-desktop | ||||
|                 nextcloud-client | ||||
|                 obsidian | ||||
|                 pinentry_qt | ||||
|                 spotify | ||||
|                 w3m | ||||
|                 zathura | ||||
|                 zenith | ||||
|                 zoom-us | ||||
|                  | ||||
|                 # Fonts | ||||
|                 corefonts      # Calibri for Uni | ||||
|             ]; | ||||
|         }; | ||||
|          | ||||
|         programs = { | ||||
|             home-manager.enable = true; | ||||
|              | ||||
|             direnv = { | ||||
|                 enable = true; | ||||
|                 nix-direnv.enable = true; | ||||
|             }; | ||||
|              | ||||
|             git = { | ||||
|                 enable = true; | ||||
|                 userName = "tdpeuter"; | ||||
|                 userEmail = "tibo.depeuter@gmail.com"; | ||||
|                 extraConfig = { | ||||
|                     core.editor = "vim"; | ||||
|                 }; | ||||
|                 includes = [ | ||||
|                     { | ||||
|                         path = "~/.gitconfig-ugent"; | ||||
|                         condition = "gitdir:~/Nextcloud/Documenten/UGent"; | ||||
|                     } | ||||
|                 ]; | ||||
|             }; | ||||
|              | ||||
|             gpg.enable = true; | ||||
|              | ||||
|         }; | ||||
|          | ||||
|         services = { | ||||
|             gpg-agent = { | ||||
|                 enable = true; | ||||
|                 pinentryFlavor = "qt"; | ||||
|             }; | ||||
|              | ||||
|         }; | ||||
|     }; | ||||
| 
 | ||||
| } | ||||
							
								
								
									
										5
									
								
								nixos/modules/shells/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								nixos/modules/shells/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| { | ||||
|     imports = [ | ||||
|         ./zsh | ||||
|     ]; | ||||
| } | ||||
|  | @ -1,6 +1,7 @@ | |||
| { | ||||
|     imports = [ | ||||
|         ./vifm | ||||
|         ./vim | ||||
|         ./zellij | ||||
|     ]; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue