From 2e8711a58820fa84b4a14c6b6e754a614f22bc0e Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 13 Nov 2022 21:21:00 +0100 Subject: use flakes --- flake.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d02d308 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + inputs.personal-webpage = { + url = "github:qaristote/webpage"; + inputs.nixpkgs.follows = ""; + }; + + outputs = { self, nixpkgs, ... }@attrs: { + nixosConfigurations = { + hermes = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = attrs; + modules = [ ./configuration.nix ]; + }; + hermes-test = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = attrs; + modules = [ ./tests/configuration.nix ]; + }; + }; + }; +} -- cgit v1.2.3