52 lines
		
	
	
	
		
			958 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
	
		
			958 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # Temporary location for modules and other code. Stacked here until
 | |
| # there's no similarties which useful to take out.
 | |
| { pkgs, inputs, ... }:
 | |
| {
 | |
|   imports = [ inputs.vnj.nixosModules.x86_64-linux.default ];
 | |
|   programs.adb.enable = true;
 | |
| 
 | |
|   services.vnj =
 | |
|     let
 | |
|       mkCfg = port: {
 | |
|         app = {
 | |
|           secret = "1337";
 | |
|           log_level = "debug";
 | |
|           journal = "/home/nero/vnj";
 | |
|         };
 | |
| 
 | |
|         http.listen = "0.0.0.0:${builtins.toString port}";
 | |
|       };
 | |
|     in
 | |
|     {
 | |
|       enable = true;
 | |
|       user = "nero";
 | |
|       instances = {
 | |
|         ru = mkCfg 1337;
 | |
|       };
 | |
|     };
 | |
| 
 | |
|   virtualisation.docker.enable = true;
 | |
| 
 | |
|   environment.systemPackages = with pkgs; [
 | |
|     obsidian
 | |
|     sioyek
 | |
|     cmake
 | |
|     gcc
 | |
|     clang
 | |
|     gnumake
 | |
|     signal-desktop
 | |
|     pavucontrol
 | |
|     vlc
 | |
|     wine
 | |
|     winetricks
 | |
|     yandex-cloud
 | |
|     qbittorrent
 | |
|     element-desktop
 | |
|     xfce.thunar
 | |
|   ];
 | |
| 
 | |
|   fonts.packages = with pkgs; [
 | |
|     fira-code
 | |
|     fira-code-symbols
 | |
|   ];
 | |
| }
 |