summaryrefslogtreecommitdiff
path: root/flake.nix
blob: d02d308aa7900bd606ce96207edf2ad4ad3aebab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
      };
    };
  };
}