summaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 2f242f243b352ab9038e44658575e00d609b68f2 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  description = "Based and Minimal Flake";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
    hjem = {
      url = "github:feel-co/hjem";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    my-slstatus = {
      url = "github:Skullheadx/slstatus";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    my-surf = {
      url = "github:Skullheadx/surf";
      inputs.nixpkgs.follows = "nixpkgs";
    };

  };
  outputs =
    {
      self,
      nixpkgs,
      hjem,
      my-slstatus,
      my-surf,
    }@inputs:
    {
      nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem {
        specialArgs = { inherit inputs; };
        modules = [
          hjem.nixosModules.default
          ./configuration.nix
          ./overlays.nix
        ];
      };
    };
}