aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 8875022930dae6a100c85bc1bef2f0c4331952d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  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; };
      };
      modules = [
        "${nixos-hardware}/lenovo/ideapad"
        ./configuration.nix
      ];
    };
  };
}