feat: Disable remote builder for deoxys and added authorizedKeys

This commit is contained in:
uttarayan21
2025-01-02 17:09:37 +05:30
parent cfd9e0db22
commit e05a4c5815
2 changed files with 9 additions and 8 deletions

View File

@@ -34,13 +34,13 @@
}; };
package = pkgs.nixVersions.latest; package = pkgs.nixVersions.latest;
buildMachines = [ buildMachines = [
{ # {
hostName = "sh.darksailor.dev"; # hostName = "sh.darksailor.dev";
sshUser = "fs0c131y"; # sshUser = "fs0c131y";
system = "x86_64-linux"; # system = "x86_64-linux";
protocol = "ssh-ng"; # protocol = "ssh-ng";
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; # supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
} # }
]; ];
distributedBuilds = true; distributedBuilds = true;
}; };
@@ -86,6 +86,7 @@
description = "servius"; description = "servius";
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; []; packages = with pkgs; [];
openssh.authorizedKeys.keyFiles = [../../secrets/id_ed25519.pub];
}; };
# Allow unfree packages # Allow unfree packages

View File

@@ -75,8 +75,8 @@
users.users.servius = { users.users.servius = {
isNormalUser = true; isNormalUser = true;
description = "Uttarayan";
extraGroups = ["networkmanager" "wheel" "audio" "i2c"]; extraGroups = ["networkmanager" "wheel" "audio" "i2c"];
openssh.authorizedKeys.keyFiles = [../../secrets/id_ed25519.pub];
}; };
users.groups.i2c = {}; users.groups.i2c = {};