From 8a5c9775a237df21e36ed9dc89ae187961913196 Mon Sep 17 00:00:00 2001 From: fnord Date: Wed, 7 May 2025 19:39:11 +0200 Subject: [PATCH] =?UTF-8?q?Dateien=20nach=20=E2=80=9E/=E2=80=9C=20hochlade?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added Flake.nix --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..498d834 --- /dev/null +++ b/flake.nix @@ -0,0 +1,23 @@ +# flake.nix +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + home-manager.url = "github:nix-community/home-manager/release-24.11"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; + flatpaks.url = "github:gmodena/nix-flatpak/?ref=latest"; + }; + outputs = inputs@{ self, nixpkgs, home-manager, flatpaks, ... }: + let + system = "x86_64-linux"; + in + { + # hostname = test-system-module + nixosConfigurations.ChCh-Elab-L = nixpkgs.lib.nixosSystem { + inherit system; + modules = [ + flatpaks.nixosModules.nix-flatpak + ./configuration.nix + ]; + }; +}; +}