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 + ]; + }; + }; +}