summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-13 21:21:00 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-13 21:21:00 +0100
commit2e8711a58820fa84b4a14c6b6e754a614f22bc0e (patch)
tree36fa01118d9a6db41dbbec3e80d70b8cb85e7740 /flake.nix
parent87b4abe94d627c3aac572259310250a4c8b865c9 (diff)
use flakes
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 21 insertions, 0 deletions
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 ];
+ };
+ };
+ };
+}