forked from jan-leila/nix-config
		
	moved overlays to own folder
made environments folder
This commit is contained in:
		
							parent
							
								
									eda1db9136
								
							
						
					
					
						commit
						ffe16a8d25
					
				
					 7 changed files with 189 additions and 132 deletions
				
			
		|  | @ -3,6 +3,10 @@ let | |||
|   cfg = config.users.leyla; | ||||
| in | ||||
| { | ||||
|   imports =[ | ||||
|     ./packages.nix | ||||
|   ]; | ||||
| 
 | ||||
|   options.users.leyla = { | ||||
|     isNormalUser = lib.mkEnableOption "leyla"; | ||||
|   }; | ||||
|  | @ -30,58 +34,6 @@ in | |||
|           extraGroups = [ "networkmanager" "wheel" ]; | ||||
| 
 | ||||
|           hashedPasswordFile = config.sops.secrets."passwords/leyla".path; | ||||
|            | ||||
|           packages = with pkgs; [ | ||||
|             iputils | ||||
|             dnsutils | ||||
|             git | ||||
|             firefox | ||||
|             signal-desktop | ||||
|             obsidian | ||||
|             bitwarden | ||||
|             vscodium | ||||
|             nextcloud-client | ||||
|             inkscape | ||||
|             steam | ||||
|             discord | ||||
|             rhythmbox | ||||
|             makemkv | ||||
|             protonvpn-gui | ||||
|             transmission-gtk | ||||
|             freecad | ||||
|             mupen64plus | ||||
|             dbeaver | ||||
|             easytag | ||||
|             cura | ||||
|             kicad-small | ||||
|       #        jdk | ||||
|       #        android-tools | ||||
|       #        android-studio | ||||
|             androidStudioPackages.canary | ||||
|             jetbrains.idea-community | ||||
|             ungoogled-chromium | ||||
|             nodejs | ||||
|             exiftool | ||||
|             libreoffice | ||||
|             # N64 Emulator | ||||
|             mupen64plus | ||||
|             # GameCube Emulator and Wii Emulator | ||||
|             dolphin-emu | ||||
|             # Switch Emulator | ||||
|             yuzu-mainline | ||||
|             # Atari 2600 Emulator | ||||
|             stella | ||||
|             # mame Emulator | ||||
|             mame | ||||
|             # Game Boy Advanced Emulator | ||||
|             vbam | ||||
|             # NES Emulator | ||||
|             fceux | ||||
|             # SNES Emulator | ||||
|             zsnes | ||||
|             # DS Emulator | ||||
|             desmume | ||||
|           ]; | ||||
|         } else { | ||||
|           isSystemUser = true; | ||||
|         } | ||||
|  |  | |||
							
								
								
									
										62
									
								
								users/leyla/packages.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								users/leyla/packages.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,62 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| let | ||||
|   cfg = config.users.leyla; | ||||
| in | ||||
| { | ||||
|   imports = [ | ||||
|     ../../overlays/intellij.nix | ||||
|     ../../overlays/vscodium.nix | ||||
|   ]; | ||||
| 
 | ||||
|   users.users.leyla.packages = lib.mkIf cfg.isNormalUser ( | ||||
|     with pkgs; [ | ||||
|       #foss platforms | ||||
|       signal-desktop | ||||
|       bitwarden | ||||
|       firefox | ||||
|       ungoogled-chromium | ||||
|       libreoffice | ||||
|       inkscape | ||||
|       freecad | ||||
|       kicad-small | ||||
|       cura | ||||
|       makemkv | ||||
|       transmission-gtk | ||||
|       easytag | ||||
|       rhythmbox | ||||
| 
 | ||||
|       # proprietary platforms | ||||
|       discord | ||||
|       obsidian | ||||
|        | ||||
|       # development enviroments | ||||
|       vscodium | ||||
|       androidStudioPackages.canary | ||||
|       jetbrains.idea-community | ||||
|       dbeaver | ||||
| 
 | ||||
|       # development tools | ||||
|       # TODO: move these to flakes | ||||
|       nodejs | ||||
|        | ||||
|       # bridges | ||||
|       protonvpn-gui | ||||
|       nextcloud-client | ||||
|        | ||||
|       # gaming | ||||
|       steam | ||||
|       # emulators | ||||
|       yuzu-mainline # Switch Emulator | ||||
|       dolphin-emu # GameCube and Wii Emulator | ||||
|       desmume # DS Emulator | ||||
|       mupen64plus # N64 Emulator | ||||
|       zsnes # SNES Emulator | ||||
|       vbam # Game Boy Advanced Emulator | ||||
|       fceux # NES Emulator | ||||
|       stella # Atari 2600 Emulator | ||||
|       mame # mame Emulator | ||||
|        | ||||
|        | ||||
|     ] | ||||
|   ); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue