From e317f5cd55436bd2c6d545d53c9438cdf45a2178 Mon Sep 17 00:00:00 2001 From: System administrator Date: Mon, 11 May 2026 19:46:29 +0200 Subject: [PATCH] Flake added --- configuration.nix | 1 + flake.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 flake.nix diff --git a/configuration.nix b/configuration.nix index efd83ac..dfbe8d0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,6 +5,7 @@ ./hardware-configuration.nix # Add further modules here later, e.g.: ./programs.nix + ./flake.nix # ./modules/nextcloud.nix # ./modules/wireguard.nix # ./modules/docker.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..82cb156 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + description = "NixOS Konfiguration"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + }; + + outputs = { self, nixpkgs, ... }: { + nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ]; + }; + }; +}