Enable lix & remote build on weebill
This commit is contained in:
parent
b1aded9860
commit
daf692e9a6
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue