From 4a68237d437a43b6e3492c3ee3948aaadbd50497 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 21 Jun 2023 17:41:35 +0100 Subject: [PATCH] Add initial flake.nix --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 13 +++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..0ec3471f --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1686960236, + "narHash": "sha256-AYCC9rXNLpUWzD9hm+askOfpliLEC9kwAo7ITJc4HIw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "04af42f3b31dba0ef742d254456dc4c14eedac86", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..7f484c94 --- /dev/null +++ b/flake.nix @@ -0,0 +1,13 @@ +{ + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + outputs = { + self, + nixpkgs, + }: { + nixosConfigurations.N0245 = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [./configuration.nix]; + }; + }; +}