diff options
-rw-r--r-- | flake.lock | 59 | ||||
-rw-r--r-- | flake.nix | 14 |
2 files changed, 73 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..4dbfb7ce --- /dev/null +++ b/flake.lock @@ -0,0 +1,59 @@ +{ + "nodes": { + "nixos-hardware": { + "locked": { + "lastModified": 1655789751, + "narHash": "sha256-DbL2gn7YwkuX10OdlWfZ/A7zEJztwHh9NMeau1JMTdk=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "f9d8dff4e621f2d7f2b84d9e84bc6359715f971c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixos-hardware", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1655910979, + "narHash": "sha256-vknkFY8AEA7aLdtvyQ3P+pPsp70w9XsDR6t4M94q9sI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "21321a6381fd8d3660fe1cdc0485fbb5978112ce", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-22.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1656008720, + "narHash": "sha256-tNfYbkBgzP3cUUAZc3l2oY1aGpQ66rxMK8K8tB1R1gs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "55fc0010c4c851f14ea51c5f9b480c5bbce6e706", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixos-hardware": "nixos-hardware", + "nixpkgs": "nixpkgs", + "nixpkgs-unstable": "nixpkgs-unstable" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..dff9c893 --- /dev/null +++ b/flake.nix @@ -0,0 +1,14 @@ +{ + inputs = { + nixpkgs.url = github:NixOS/nixpkgs/nixos-22.05; + nixpkgs-unstable.url = github:NixOS/nixpkgs; + nixos-hardware.url = github:NixOS/nixos-hardware; + }; + + outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware }: { + nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./system/prefect.nix ]; + }; + }; +} |