From 243a9339f041f62c1b5d8c05b415b126349c95b5 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 25 Apr 2023 23:10:57 +0300 Subject: reflopactor (#1) --- hosts/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 hosts/default.nix (limited to 'hosts/default.nix') diff --git a/hosts/default.nix b/hosts/default.nix new file mode 100644 index 0000000..36a8b85 --- /dev/null +++ b/hosts/default.nix @@ -0,0 +1,23 @@ +{ + nixpkgs, + self, + outputs, + ... +}: let + inputs = self.inputs; + + home-manager = inputs.home-manager.nixosModules.home-manager; + homes = ../homes; +in { + nixbox = nixpkgs.lib.nixosSystem { + specialArgs = {inherit inputs outputs;}; + modules = [ + # this list defines which files will be imported to be used as "modules" in the system config + ./nixbox/configuration.nix + + # use the nixos-module for home-manager + home-manager + homes + ]; + }; +} -- cgit v1.2.3-54-g00ecf