nixos-config/flake.nix

36 lines
790 B
Nix
Raw Normal View History

2021-05-22 16:31:41 +00:00
{
2021-05-22 17:04:06 +00:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2021-09-29 08:23:27 +00:00
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.0";
2021-05-22 19:35:47 +00:00
2021-07-14 17:33:13 +00:00
# neovim-overlay = {
# url = "github:nix-community/neovim-nightly-overlay";
# inputs.nixpkgs.follows = "nixpkgs";
# };
2021-05-22 17:04:06 +00:00
};
2021-09-29 08:23:27 +00:00
outputs = inputs@{ self, nixpkgs, utils, ... }: utils.lib.mkFlake {
2021-05-22 19:35:47 +00:00
inherit self inputs;
channels.nixpkgs.input = nixpkgs;
2021-12-07 11:56:25 +00:00
channels.nixpkgs.patches = [ ];
2021-09-29 08:23:27 +00:00
nix.generateRegistryFromInputs = true;
2021-05-22 19:35:47 +00:00
hostDefaults = {
modules = [
2021-05-22 20:39:48 +00:00
({ ... }: { nix.extraOptions = "warn-dirty = false"; })
2021-05-22 19:35:47 +00:00
];
};
hosts = {
petalius.modules = [ ./petalius.nix ];
flammea.modules = [ ./flammea.nix ];
2021-05-27 10:20:25 +00:00
decoysnail.modules = [ ./decoysnail.nix ];
2021-05-22 17:04:06 +00:00
};
2021-05-22 19:35:47 +00:00
2021-05-22 16:31:41 +00:00
};
}