WS-KCNHUB/flake.nix

28 lines
677 B
Nix
Raw Normal View History

2023-07-25 13:25:23 -04:00
{
2023-07-27 12:32:01 -04:00
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/release-23.05";
};
2023-07-27 16:15:53 -04:00
sops-nix = {
url = "github:Mic92/sops-nix";
# Follow the system nixpkgs
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-28 10:02:26 -04:00
nix-matlab = {
url = "gitlab:doronbehar/nix-matlab";
# Follow the system nixpkgs
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-27 12:32:01 -04:00
};
2023-07-28 10:02:26 -04:00
outputs = { self, nixpkgs, sops-nix, nix-matlab }@attrs: {
2023-07-25 13:25:23 -04:00
nixosConfigurations.kcnhub = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-07-28 10:02:26 -04:00
specialArgs = attrs;
2023-07-25 13:25:23 -04:00
modules = [
2023-07-27 16:15:53 -04:00
./machines/kcnhub/configuration.nix
sops-nix.nixosModules.sops
2023-07-25 13:25:23 -04:00
];
};
};
}