From: Patrick Date: Fri, 11 Apr 2025 13:01:52 +0000 (+0200) Subject: Add flake.nix X-Git-Url: https://gitweb.ps.run/flake_server/commitdiff_plain/104bf7f0ae2f8db8387f8f9de8402d32a8db65d7 Add flake.nix --- diff --git a/flake.nix b/flake.nix new file mode 100644 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 + ]; + }; + }; + }; +} +