From b8a5c62b112859f463a53ac97b43f7f8cdc544a9 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sun, 31 Dec 2023 15:08:06 +0300 Subject: uhm --- flake.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0be8527..07b8d6c 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,7 @@ "x86_64-darwin" ]; in - rec { + { packages = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; in import ./pkgs { inherit pkgs; } @@ -64,11 +64,19 @@ # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { + ltrr-mini = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs outputs; }; + modules = [ + # > Our main nixos configuration file < + ./nixos/laptop/configuration.nix + nurpkgs.nixosModules.nur + ]; + }; ltrr = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs outputs; }; modules = [ # > Our main nixos configuration file < - ./nixos/configuration.nix + ./nixos/pc/configuration.nix nurpkgs.nixosModules.nur ]; }; -- cgit v1.2.3