NixOS-Configuration/flake.nix

27 lines
406 B
Nix
Raw Normal View History

2024-01-09 17:29:12 +00:00
{
description = "My nixos config as a flake";
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
2024-01-09 17:29:12 +00:00
};
2024-01-10 00:41:10 +00:00
outputs = { self, nixpkgs }@inputs:
2024-01-09 22:30:06 +00:00
let
2024-01-09 17:29:12 +00:00
lib = nixpkgs.lib;
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
2024-01-10 00:41:10 +00:00
./hosts/nixos/configuration.nix
2024-01-09 17:29:12 +00:00
];
};
};
};
}