summary refs log tree commit diff stats
path: root/flake.nix
blob: 746ceb6d783be0677c9d70e47ba0492185d28a51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  description = "My Nixo system configuration";
  inputs = {
    nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  outputs = {
    self,
    nixpkgs,
    home-manager,
    ...
  } @ attrs: {
    nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      specialArgs = attrs;
      modules = [./hosts/thinklappi/thinklappi.nix];
    };
  };
}