diff options
| Commit | c8b3a32097c3206b38b039cb578c090342bf865c (patch) | |
|---|---|---|
| Author | 2026-01-27 20:34:09 +0200 | |
| Committer | 2026-01-27 20:35:58 +0200 | |
| Files | 38c6ed84f4ed94d07f23c36cffa2978af3bec540 | |
| nix-c8b3a32097c3206b38b039cb578c090342bf865c.tar nix-c8b3a32097c3206b38b039cb578c090342bf865c.tar.gz nix-c8b3a32097c3206b38b039cb578c090342bf865c.zip | ||
| Parent | 126092fb6624b9ed54f28b887d7658a749a2e3ac (diff) | |
feat: Overlay packages of inputs not starting with nixpkgs-
3 files changed, 6 insertions, 5 deletions
| -rw-r--r-- | autoconfig.nix | 7 | ||||
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | machines/ceres/configuration.nix | 2 |
diff --git a/autoconfig.nix b/autoconfig.nix index 1660397..6df931f 100644 --- a/autoconfig.nix +++ b/autoconfig.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ inputs, modules ? [], ... }: let inherit (inputs) nixpkgs; inherit (nixpkgs) lib; @@ -18,7 +18,7 @@ let nixpkgs-special.legacyPackages.${system} or nixpkgs-special.packages.${system}) (lib.filterAttrs (name: _: - lib.hasPrefix "nixpkgs-" name) + name != "nixpkgs") inputs); package-overlays = @@ -81,7 +81,8 @@ in { ++ (if lib.pathIsRegularFile ./machines/${dir}/configuration.nix then [ ./machines/${dir}/configuration.nix ] else []) - ++ package-modules; + ++ package-modules + ++ modules; }) (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./machines)); packages = let @@ -8,7 +8,7 @@ nixpkgs-mint.url = "github:nixos/nixpkgs/9217c8084d8bc067d48c8edf5768e9dc54962970"; # 10 Aug 2022 - nixpkgs-hytale.url = "github:JPyke3/hytale-launcher-nix"; + hytale.url = "github:JPyke3/hytale-launcher-nix"; }; outputs = inputs: diff --git a/machines/ceres/configuration.nix b/machines/ceres/configuration.nix index 94ee8d6..581ff6b 100644 --- a/machines/ceres/configuration.nix +++ b/machines/ceres/configuration.nix @@ -4,7 +4,7 @@ unigine-heaven unigine-superposition prismlauncher gnuradio - nixpkgs-hytale.hytale-launcher + hytale.hytale-launcher ]; services.xserver.xautolock.enable = lib.mkForce false; |
