2024-05-01 20:46:28 +00:00
|
|
|
{
|
|
|
|
description = "A simple system flake using some Aux defaults";
|
|
|
|
|
|
|
|
inputs.nixpkgs.url = "github:auxolotl/nixpkgs/nixpkgs-unstable";
|
|
|
|
|
|
|
|
outputs =
|
2024-05-01 22:00:23 +00:00
|
|
|
inputs@{ nixpkgs, ... }:
|
2024-05-01 20:46:28 +00:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostName = builtins.abort "You need to fill in your hostName"; # Set this variable equal to your hostName
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations.${hostName} = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
2024-05-01 22:00:23 +00:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
|
|
|
|
{ networking.hostName = hostName; }
|
|
|
|
];
|
|
|
|
|
2024-05-01 20:46:28 +00:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|