Fix Unfree packages not working & styling
This commit is contained in:
		
							parent
							
								
									9c6bc18271
								
							
						
					
					
						commit
						4f491b6b04
					
				
					 1 changed files with 87 additions and 86 deletions
				
			
		|  | @ -1,97 +1,98 @@ | ||||||
| { inputs, lib, config, pkgs, ... }: | { inputs, lib, config, pkgs, ... }: | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|     imports = [ |   imports = [ | ||||||
|         ./apps |     ./apps | ||||||
|         ./shells |     ./shells | ||||||
|         ./utils |     ./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; | ||||||
|  |   }; | ||||||
| 
 | 
 | ||||||
|     # Nix Flakes |   home-manager.useGlobalPkgs = true; | ||||||
|     nix.package = pkgs.nixFlakes; |  | ||||||
|     nix.extraOptions = '' |  | ||||||
|         experimental-features = nix-command flakes |  | ||||||
|         keep-outputs = true |  | ||||||
|         keep-derivations = true |  | ||||||
|     ''; |  | ||||||
| 
 | 
 | ||||||
|     users.users.tdpeuter = { |   home-manager.users.tdpeuter = { pkgs, ... }: { | ||||||
|         description = "Tibo De Peuter"; |     home = { | ||||||
|         isNormalUser = true; |       username = "tdpeuter"; | ||||||
|         extraGroups = [ "networkmanager" "wheel" ]; |       homeDirectory = "/home/tdpeuter"; | ||||||
|         initialPassword = "ChangeMe"; |       stateVersion = "22.11"; | ||||||
|         packages = with pkgs; [ | 
 | ||||||
|             home-manager |       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"; | ||||||
|  |           } | ||||||
|         ]; |         ]; | ||||||
|         shell = pkgs.zsh; |       }; | ||||||
|  | 
 | ||||||
|  |       gpg.enable = true; | ||||||
|  | 
 | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     home-manager.users.tdpeuter = { pkgs, ... }: { |     services = { | ||||||
|         home = { |       gpg-agent = { | ||||||
|             username = "tdpeuter"; |         enable = true; | ||||||
|             homeDirectory = "/home/tdpeuter"; |         pinentryFlavor = "qt"; | ||||||
|             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"; |  | ||||||
|             }; |  | ||||||
|              |  | ||||||
|         }; |  | ||||||
|     }; |     }; | ||||||
|  |   }; | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue