nix: init flake

This commit is contained in:
Nico 2025-05-03 16:15:56 +10:00
commit 012b23bb1b

19
nix/flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
description = "nico's linux system.";
inputs = {
# NixOS official package source, using the unstable branch here
nixpkgs.url = "github:NixOS/nixpkgs/unstable";
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations.pluto = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
./hosts/pluto/conf.nix
./hosts/pluto/hardware-configuration.nix
];
};
};
}