73 lines
1.7 KiB
Nix
73 lines
1.7 KiB
Nix
{
|
|
description = "NixOS definitions for our home servers";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://attic.kun.is/nixos-servers"
|
|
];
|
|
|
|
extra-trusted-public-keys = [
|
|
"nixos-servers:JThtPjQjDu3b3qXLgeXSJGgKL4OKQ4uLgTtoo1rg6Vw="
|
|
];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
deploy-rs.url = "github:serokell/deploy-rs";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
|
|
|
git-hooks = {
|
|
url = "github:cachix/git-hooks.nix";
|
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
|
};
|
|
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
dns = {
|
|
url = "github:kirelagin/dns.nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
outputs = inputs @ {
|
|
nixpkgs,
|
|
flake-utils,
|
|
...
|
|
}:
|
|
flake-utils.lib.meld inputs [
|
|
./scripts
|
|
./deploy.nix
|
|
./nixos.nix
|
|
./shell.nix
|
|
./utils
|
|
./machines
|
|
./formatter.nix
|
|
];
|
|
}
|