diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..fdffa2a --- /dev/null +++ b/configuration.nix @@ -0,0 +1 @@ +# placeholder diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b4e1dc1 --- /dev/null +++ b/flake.nix @@ -0,0 +1,19 @@ +{ + description = "NAS on NixOS – root on ZFS"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-25.05"; + + outputs = { self, nixpkgs }: + let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in { + nixosConfigurations.host = pkgs.lib.nixosSystem { + inherit system; + modules = [ + ./hardware + ./configuration + ]; + }; + }; +} diff --git a/hardware/default.nix b/hardware/default.nix new file mode 100644 index 0000000..fdffa2a --- /dev/null +++ b/hardware/default.nix @@ -0,0 +1 @@ +# placeholder