c3terminal/flake.nix

44 lines
1 KiB
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";
};
2024-12-10 23:00:15 +01:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-12-10 21:22:01 +01:00
};
outputs = args@{
self,
nixpkgs,
nixos-generators,
nixos-facter-modules,
disko,
2024-12-10 23:00:15 +01:00
home-manager,
2024-12-10 21:22:01 +01:00
...
}: {
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
2024-12-10 23:00:15 +01:00
home-manager.nixosModules.home-manager
2024-12-10 21:22:01 +01:00
];
};
};
}