nixos/flake.nix
2023-02-01 23:36:03 +01:00

24 lines
491 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
nixos-desktop = lib.nixosSystem {
inherit system;
modules = [ ./configuration.nix ];
};
};
};
}