fix(server): nixpkgs config; migrate to new frp module

This commit is contained in:
2025-11-24 18:04:11 +08:00
parent 4509f9edf5
commit f4c1b313ce
7 changed files with 279 additions and 273 deletions

View File

@@ -1,8 +1,8 @@
{
self,
withSystem,
lib,
inputs,
pkgsParams,
...
}:
let
@@ -15,9 +15,11 @@ let
);
pkgsModule =
{ config, ... }:
withSystem config.nixpkgs.hostPlatform.system (perSystem: {
nixpkgs.pkgs = perSystem.pkgs;
});
{
nixpkgs = pkgsParams // {
inherit (config.nixpkgs.hostPlatform) system;
};
};
hmModule = {
home-manager = {
sharedModules = [
@@ -26,6 +28,10 @@ let
inputs.stylix.homeModules.stylix
inputs.noctalia.homeModules.default
inputs.zen.homeModules.beta
{
nixpkgs = lib.mkForce { };
}
];
useGlobalPkgs = true;
};