Nyx-Tools/other/example/example-flake.nix
2025-08-13 11:40:03 +02:00

36 lines
788 B
Nix

{
description = "EXAMPLE-flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nyx.url = "github:Peritia-System/Nyx-Tools";
nyx.inputs.nixpkgs.follows = "nixpkgs";
# Optional but i recommend it:
# home-manager.url = "github:nix-community/home-manager";
# home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs @ {
nixpkgs,
home-manager,
nyx,
...
}: {
nixosConfigurations = {
default = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs self;
host = "default";
};
modules = [
./Configurations/Hosts/Default/configuration.nix
# No need to include nyx here
];
};
};
};
}