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";
2022-01-30 14:22:26 +00:00
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1";
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;
2022-05-31 14:57: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
};
}