aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 2605a6820c211d0a2beefae641329d0aaa154c67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    nixos-hardware.url = "github:NixOS/nixos-hardware";
  };

  outputs = { self, nixpkgs, nixos-hardware, ... }: {
    nixosConfigurations.bacchus = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      specialArgs = {
        settings = import ./settings.nix { inherit (nixpkgs) lib; };
        inherit nixos-hardware;
      };
      modules = [ ./modules/config.nix ];
    };
  };
}