1
1
Fork 0
deployed-nixos-server-and-apps/flake.nix

41 lines
999 B
Nix

{
description = "System flake for Linode NixOS server";
# Want to convert this to Flake Parts flake so I can use their special features
nixConfig = {
extra-substituters = "https://srid.cachix.org";
extra-trusted-public-keys = "srid.cachix.org-1:3clnql5gjbJNEvhA/WQp7nrZlBptwpXnUk6JAv8aB2M=";
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
emanote.url = "github:srid/emanote";
emanote.inputs.emanote-template.follows = "";
flake-parts.follows = "emanote/flake-parts";
# nixpkgs.follows = "emanote/nixpkgs";
osds-site.url = "git+https://git.ewanick.com/bill/osds-site";
};
outputs =
inputs@{
self,
nixpkgs,
emanote,
osds-site,
...
}:
{
nixosConfigurations.linode-nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs emanote; };
modules = [
./server-config/configuration.nix
./nixos-apps
osds-site
];
};
};
}