feat(ssh): Enable sshd for ryu and deploy target for mirai fix

This commit is contained in:
uttarayan21
2024-10-02 15:38:40 +05:30
parent 5537684cfa
commit f24258b3fb
3 changed files with 10 additions and 1 deletions

View File

@@ -224,6 +224,14 @@
user = "fs0c131y"; user = "fs0c131y";
}; };
}; };
ryu = {
hostname = "ryu";
profiles.system = {
sshUser = "servius";
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.ryu;
user = "servius";
};
};
}; };
}; };

View File

@@ -6,7 +6,7 @@
... ...
}: }:
builtins.listToAttrs (builtins.map (device: { builtins.listToAttrs (builtins.map (device: {
name = device.user; name = device.name;
value = let value = let
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {
inherit overlays; inherit overlays;

View File

@@ -38,6 +38,7 @@
services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc. services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc.
services.fprintd.enable = true; services.fprintd.enable = true;
services.sshd.enable = true;
boot.loader.systemd-boot.consoleMode = "max"; boot.loader.systemd-boot.consoleMode = "max";
hardware.nvidia = { hardware.nvidia = {
# Modesetting is required. # Modesetting is required.