51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
|
|
description = "System Configuration";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
olympus = {
|
|
url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Olympus";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, olympus, ... }: let
|
|
host = "hostname";
|
|
|
|
in {
|
|
|
|
nixosConfigurations."${host}" = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
};
|
|
|
|
modules = [
|
|
{ sysconfig.host = host; }
|
|
./configuration.nix
|
|
olympus.live
|
|
];
|
|
};
|
|
|
|
templates.default = {
|
|
welcomeText = ''
|
|
# NixOS Configuration Template
|
|
Have Fun!
|
|
'';
|
|
description = ''
|
|
Generate this where you want your config.
|
|
'';
|
|
source = ./.;
|
|
};
|
|
|
|
};
|
|
}
|