File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ description = "A simple NixOS flake for Hetzner Cloud server with Bonfire" ;
3
+
4
+ inputs = {
5
+ # NixOS official package source, using the nixos-25.05 branch here
6
+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-25.05" ;
7
+ bonfire-app . url = "github:bonfire-networks/bonfire-app/main" ; # Or a specific tag/commit
8
+ flake-utils . url = "github:numtide/flake-utils" ;
9
+ } ;
10
+
11
+ outputs = { self , nixpkgs , bonfire-app , flake-utils } :
12
+ {
13
+ nixosConfigurations . nixos-vm = nixpkgs . lib . nixosSystem {
14
+ system = "x86_64-linux" ;
15
+ modules = [
16
+ ./configuration.nix # Your main configuration.nix
17
+ ./hardware-configuration.nix # Add other modules here if you have them, e.g., hardware-configuration.nix
18
+ ] ;
19
+ specialArgs = {
20
+ inherit bonfire-app ; # Pass bonfire-app input to configuration.nix
21
+ } ;
22
+ } ;
23
+ } ;
24
+ }
You can’t perform that action at this time.
0 commit comments