diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e63d2bb --- /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 + ]; + }; +}; +} \ No newline at end of file