about summary refs log tree commit diff stats
path: root/flake.nix
blob: 65a6f08c07702b9c24be3d65884ad30d99213e7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# vim: ts=2
{
  description = "Nixos system config";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    home-manager.url = "github:nix-community/home-manager/master";
  };

  outputs = {
    self,
    nixpkgs,
    ...
  } @ attrs: {
    nixosConfigurations.Tiamat = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      specialArgs = attrs;
      modules = [./hosts/Tiamat/configuration.nix];
    };
    nixosConfigurations.Apzu = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      specialArgs = attrs;
      modules = [./hosts/Apzu/configuration.nix];
    };
  };
}