Adding Importing functionality

This commit is contained in:
Peritia 2025-08-06 09:34:26 +02:00
parent 62594d312c
commit 2f9ff34ad4
17 changed files with 1188 additions and 307 deletions

30
other/example/flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
description = "EXAMPLE-flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nyx.url = "github:Peritia-System/Nyx-Tools";
};
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
];
};
};
};
}