c3terminal/flake.nix
2024-12-10 23:02:27 +01:00

43 lines
1 KiB
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";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = args@{
self,
nixpkgs,
nixos-generators,
nixos-facter-modules,
disko,
home-manager,
...
}: {
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
home-manager.nixosModules.home-manager
];
};
};
}