2021-11-21 14:33:20 +01:00
|
|
|
{
|
2021-11-21 14:52:49 +01:00
|
|
|
description = "NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
|
|
|
|
nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
2021-11-21 14:55:09 +01:00
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2021-11-21 19:08:57 +01:00
|
|
|
|
|
|
|
easy-dhall-nix.url = "github:justinwoo/easy-dhall-nix";
|
|
|
|
easy-dhall-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
|
|
|
|
easy-purescript-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2021-11-21 14:52:49 +01:00
|
|
|
};
|
|
|
|
|
2021-11-21 19:08:57 +01:00
|
|
|
outputs = { self, nixpkgs, home-manager, nixos-unstable, easy-purescript-nix
|
|
|
|
, easy-dhall-nix, ... }: {
|
|
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
inputs = {
|
|
|
|
inherit nixpkgs;
|
|
|
|
inherit nixos-unstable;
|
|
|
|
inherit easy-dhall-nix;
|
|
|
|
inherit easy-purescript-nix;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./hardware/laptop.nix
|
|
|
|
./configuration.nix
|
|
|
|
];
|
|
|
|
};
|
2021-11-21 14:33:20 +01:00
|
|
|
};
|
|
|
|
}
|