Preparing to switch to flakes

This commit is contained in:
2025-08-03 15:42:02 -04:00
parent b69b0853d3
commit 94f0ce50ae
5 changed files with 84 additions and 12 deletions

30
flake.nix Normal file
View File

@@ -0,0 +1,30 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in
{
nixosConfigurations = {
lazyworkhorse = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./hosts/lazyworkhorse/configuration.nix
];
};
};
};
}