nixos-servers/flake.nix

73 lines
1.6 KiB
Nix
Raw Normal View History

2023-11-05 17:43:32 +00:00
{
2024-03-02 13:46:10 +00:00
description = "NixOS definitions for our home servers";
2023-11-05 17:43:32 +00:00
nixConfig = {
extra-substituters = [
"https://attic.kun.is/nixos-servers"
];
extra-trusted-public-keys = [
"nixos-servers:JThtPjQjDu3b3qXLgeXSJGgKL4OKQ4uLgTtoo1rg6Vw="
];
};
2023-11-05 17:43:32 +00:00
inputs = {
2024-06-05 19:44:44 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
2023-11-11 23:04:37 +00:00
deploy-rs.url = "github:serokell/deploy-rs";
2024-02-27 19:14:53 +00:00
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
flake-utils.url = "github:numtide/flake-utils";
2024-10-28 13:11:40 +00:00
treefmt-nix.url = "github:numtide/treefmt-nix";
pre-commit-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
2024-06-15 20:27:07 +00:00
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-01-07 19:24:12 +00:00
dns = {
url = "github:kirelagin/dns.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-01-17 20:28:15 +00:00
2024-06-15 20:27:07 +00:00
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-snapshotter = {
url = "github:pdtpartners/nix-snapshotter";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
nixng = {
url = "github:pizzapim/NixNG/dnsmasq";
inputs.nixpkgs.follows = "nixpkgs";
};
kubenix = {
url = "github:pizzapim/kubenix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
2023-11-05 17:43:32 +00:00
};
2024-10-28 13:12:06 +00:00
outputs = inputs @ {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.meld inputs [
2024-09-07 11:59:04 +00:00
./scripts
./deploy.nix
./nixos.nix
./shell.nix
./utils
./machines
2024-10-28 13:11:40 +00:00
./formatter.nix
];
2023-11-05 17:43:32 +00:00
}