summaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 1507dce58b1c414dc9b88d2ccc3c053f453450c3 (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
{
  description = "Based and Minimal Flake";

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

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