build(nixos): add flake.nix

This commit is contained in:
Mohammad Rafiq 2025-02-22 12:20:20 +08:00
parent fe5b8d1320
commit e24ecf5287
2 changed files with 17 additions and 1 deletions

16
flake.nix Normal file
View file

@ -0,0 +1,16 @@
{
description = "simple NixOS flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ self, nixpkgs, ... }: {
nixosConfigurations.nemesis = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
];
};
};
}