1
Fork 0
satellite/flake.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2021-11-21 14:33:20 +01:00
{
2021-11-21 14:52:49 +01:00
description = "NixOS configuration";
inputs = {
2021-11-27 19:54:35 +01:00
nixpkgs.url = "github:nixos/nixpkgs/release-21.11";
2021-11-21 14:52:49 +01:00
nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
2021-11-21 14:52:49 +01:00
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.flake = false;
2021-11-21 19:08:57 +01:00
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
easy-purescript-nix.flake = false;
2021-11-29 15:00:11 +01:00
z.url = "github:jethrokuan/z";
z.flake = false;
agnoster.url = "github:oh-my-fish/theme-agnoster";
agnoster.flake = false;
2021-11-21 14:52:49 +01:00
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
let provideInputs = import ./modules/overlays/flakes.nix inputs;
in {
2021-11-21 19:08:57 +01:00
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
provideInputs
2021-11-21 19:08:57 +01:00
./hardware/laptop.nix
./configuration.nix
];
};
2021-11-21 14:33:20 +01:00
};
}