add hoardfrost

This commit is contained in:
2025-10-27 13:09:00 -06:00
parent eb1283157a
commit 4c1dcec61b
19 changed files with 979 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{
description = "Hoardfrost multipurpose server";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {self, nixpkgs, home-manager, ...}@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
timezone = "America/Denver";
locale = "en_US.UTF-8";
specialArgs = {
inherit inputs;
inherit system;
inherit timezone;
inherit locale;
};
in {
homeConfigurations.autumn = home-manager.lib.homeManagerConfiguration{
extraSpecialArgs = specialArgs;
pkgs = pkgs;
modules = [
./home.nix
];
};
nixosConfigurations.hoardfrost = nixpkgs.lib.nixosSystem{
system = system;
specialArgs = specialArgs;
modules = [
./configuration.nix
];
};
};
}