nixos-config/flake.nix

35 lines
796 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-05-22 19:35:47 +00:00
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
neovim-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
2021-05-22 17:04:06 +00:00
};
2021-05-22 19:35:47 +00:00
outputs = inputs@{ self, nixpkgs, neovim-overlay, utils, ... }: utils.lib.systemFlake {
inherit self inputs;
channels.nixpkgs.input = nixpkgs;
2021-06-13 09:37:48 +00:00
channels.nixpkgs.patches = [ ];
2021-05-22 19:35:47 +00:00
hostDefaults = {
modules = [
utils.nixosModules.saneFlakeDefaults
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
};
}