summary refs log tree commit diff stats
path: root/flake.nix
blob: 5775c4204aa22af8f382379fc6b25d6374be493d (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 = [./sysconf/thinklappi.nix];
    };
  };
}