nix-configs/flake.nix

33 lines
476 B
Nix
Raw Normal View History

2023-11-16 21:34:57 +00:00
{
2023-11-25 14:37:36 +00:00
description = "First main nixos flake";
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;
};
2023-11-16 21:34:57 +00:00
};
2023-11-25 14:37:36 +00:00
in
{
nixosConfigurations = {
myNixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./nixos/configuration.nix
];
2023-11-16 21:34:57 +00:00
};
2023-11-25 14:37:36 +00:00
};
};
2023-11-16 21:34:57 +00:00
}