]> gitweb.ps.run Git - flake_server/commitdiff
Add flake.nix
authorPatrick <patrick.schoenberger@posteo.de>
Fri, 11 Apr 2025 13:01:52 +0000 (15:01 +0200)
committerPatrick <patrick.schoenberger@posteo.de>
Fri, 11 Apr 2025 13:01:52 +0000 (15:01 +0200)
flake.nix [new file with mode: 0644]

diff --git a/flake.nix b/flake.nix
new file mode 100644 (file)
index 0000000..41f9ecc
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,20 @@
+{
+  description = "NixOS Flake";
+
+  inputs = {
+    nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
+    flake-utils.url = "github:numtide/flake-utils";
+  };
+
+  outputs = { self, nixpkgs, flake-utils, ... }: {
+    nixosConfigurations = {
+      hostname = nixpkgs.lib.nixosSystem {
+        system = "x86_64-linux";
+        modules = [
+          ./configuration.nix
+        ];
+      };
+    };
+  };
+}
+