nixos-configs/flake.nix
2023-10-08 16:57:57 +02:00

29 lines
502 B
Nix

{
description = "My NixOS configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in
{
nixosConfigurations = {
myNixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./configuration.nix
];
};
};
};
}