From 012b23bb1b15e383ebc2948ac1bb070b23491c26 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:56 +1000 Subject: [PATCH] nix: init flake --- nix/flake.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nix/flake.nix 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 + ]; + }; + }; +}