nixos-config/flake.nix

36 lines
805 B
Nix
Raw Normal View History

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