From 1dbc07fe403b1d5cb0e1d67baa20b35cda27c2f5 Mon Sep 17 00:00:00 2001 From: Nicole Dresselhaus Date: Tue, 10 Jun 2025 21:09:01 +0200 Subject: [PATCH] initial empty flake --- configuration.nix | 1 + flake.nix | 19 +++++++++++++++++++ hardware/default.nix | 1 + 3 files changed, 21 insertions(+) create mode 100644 configuration.nix create mode 100644 flake.nix create mode 100644 hardware/default.nix 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