commit 012b23bb1b15e383ebc2948ac1bb070b23491c26 Author: Nico Date: Sat May 3 16:15:56 2025 +1000 nix: init flake diff --git a/nix/flake.nix b/nix/flake.nix new file mode 100644 index 0000000..93f102c --- /dev/null +++ b/nix/flake.nix @@ -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 + ]; + }; + }; +}