diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2026-07-17 14:34:18 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2026-07-17 14:34:18 +0200 |
| commit | 0d0788cd4ee378fba19e47a2c5d5527c196b65e0 (patch) | |
| tree | 0fbd0e2644e94e0227005947004541fd4ff4d53e /flake.nix | |
Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1e56e60 --- /dev/null +++ b/flake.nix @@ -0,0 +1,28 @@ +{ + description = "karanj.com EU server (Hetzner Cloud)"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { self, nixpkgs, disko, sops-nix, ... }: { + nixosConfigurations.eurovm = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + disko.nixosModules.disko + sops-nix.nixosModules.sops + ./hosts/eurovm/default.nix + ]; + }; + }; +} |
