nix-configs/flake.nix

33 lines
515 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.11";
2023-11-25 14:37:36 +00:00
};
2023-12-02 17:30:41 +00:00
outputs = {
self,
nixpkgs,
}: let
2023-11-25 14:37:36 +00:00
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
2023-11-16 21:34:57 +00:00
};
2023-12-02 17:30:41 +00:00
in {
nixosConfigurations = {
myNixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit system;};
2023-11-25 14:37:36 +00:00
2023-12-02 17:30:41 +00:00
modules = [
./nixos/configuration.nix
];
};
};
2023-11-16 21:34:57 +00:00
};
2023-12-02 17:30:41 +00:00
}