Files
infra/flake.nix

29 lines
610 B
Nix
Raw Normal View History

2025-08-03 15:42:02 -04:00
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
2025-08-04 22:15:59 -04:00
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
2025-08-03 15:42:02 -04:00
let
system = "x86_64-linux";
2025-08-04 22:15:59 -04:00
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
2025-08-03 15:42:02 -04:00
};
2025-08-04 22:15:59 -04:00
};
2025-08-03 15:42:02 -04:00
in
{
nixosConfigurations = {
lazyworkhorse = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./hosts/lazyworkhorse/configuration.nix
];
};
};
};
}