add hoardfrost
This commit is contained in:
39
system/hoardfrost/flake.nix
Normal file
39
system/hoardfrost/flake.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user