c3terminal/flake.nix

38 lines
853 B
Nix
Raw Normal View History

2024-12-10 21:22:01 +01:00
{
description = "c3 Terminal Setup";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = args@{
self,
nixpkgs,
nixos-generators,
nixos-facter-modules,
disko,
...
}: {
nixosConfigurations.c3terminal = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = args;
modules = [
./config.nix
nixos-generators.nixosModules.all-formats
nixos-facter-modules.nixosModules.facter
disko.nixosModules.disko
];
};
};
}