40 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Nix
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Nix
		
	
	
		
			Executable file
		
	
	
	
	
| {
 | |
|   description = "Nettika's NixOS Configurations";
 | |
| 
 | |
|   inputs = {
 | |
|     nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
 | |
|     shelvacu.url = "git+https://git.uninsane.org/shelvacu/nix-stuff";
 | |
|     phps.url = "github:fossar/nix-phps";
 | |
|   };
 | |
| 
 | |
|   outputs = { self, nixpkgs, ... }@inputs:
 | |
|     let
 | |
|       secrets = builtins.fromJSON (builtins.readFile ./secrets.json);
 | |
|     in
 | |
|     {
 | |
|       nixosModules = {
 | |
|         common = import ./modules/common.nix;
 | |
|         prompt = import ./modules/prompt.nix;
 | |
|         server = import ./modules/server.nix;
 | |
|         zerotier = import ./modules/zerotier.nix;
 | |
|       };
 | |
| 
 | |
|       nixosConfigurations = {
 | |
|         marauder = nixpkgs.lib.nixosSystem {
 | |
|           system = "x86_64-linux";
 | |
|           modules = [ ./hosts/marauder ];
 | |
|           specialArgs = { inherit self inputs secrets; };
 | |
|         };
 | |
|         monolith = nixpkgs.lib.nixosSystem {
 | |
|           system = "x86_64-linux";
 | |
|           modules = [ ./hosts/monolith ];
 | |
|           specialArgs = { inherit self inputs secrets; };
 | |
|         };
 | |
|         quasar = nixpkgs.lib.nixosSystem {
 | |
|           system = "x86_64-linux";
 | |
|           modules = [ ./hosts/quasar ];
 | |
|           specialArgs = { inherit self inputs secrets; };
 | |
|         };
 | |
|       };
 | |
|     };
 | |
| }
 |