Enable lix & remote build on weebill

This commit is contained in:
Fern Garden 2025-07-25 17:22:15 +08:00
parent b1aded9860
commit daf692e9a6

View file

@ -66,6 +66,7 @@ with inputs.nixpkgs.lib; {
specialArgs = {
# Make some variables accesible to modules.
inherit
inputs
hostname
secrets
;
@ -73,7 +74,10 @@ with inputs.nixpkgs.lib; {
modules =
[
{nix.nixPath = ["nixpkgs=${nixpkgs}"];} # Set $NIX_PATH.
nixvim.nixosModules.nixvim # Neovim.
lix-module.nixosModules.default # lix.
./suites/${suite} # Collection of configuration options for different types of systems.
./hosts/${hostname} # Host-specific config.
@ -99,6 +103,10 @@ with inputs.nixpkgs.lib; {
user = "root";
sshuser = "fern";
path = deployPkgs.deploy-rs.lib.activate.nixos self.nixosConfigurations.${hostname};
remoteBuild =
if (system != "x86_64-linux")
then true
else false;
};
};
};