Files
nixos/flake.nix
2024-11-15 15:59:23 +00:00

26 lines
473 B
Nix

{
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;
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
graeme-nix = lib.nixosSystem {
inherit system;
modules = [ ./configuration.nix ];
};
};
};
}