sample-config/flake.nix

34 lines
633 B
Nix
Raw Normal View History

2024-11-23 20:28:47 -08:00
{
description = "Sample Homefree Host Config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
homefree.url = "git+https://git.homefree.host/erahhal/HomeFree";
};
outputs = {
self,
...
}@inputs:
let
system = "x86_64-linux";
in
{
nixosConfigurations = {
homefree = inputs.nixpkgs.lib.nixosSystem {
system = system;
modules = [
inputs.homefree.nixosModules.default
./disk-config.nix
./configuration.nix
];
specialArgs = {
inherit inputs;
inherit system;
};
};
};
};
}