37 lines
853 B
Nix
37 lines
853 B
Nix
{
|
|
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
|
|
];
|
|
};
|
|
};
|
|
}
|