yarn: deploy-rs

This commit is contained in:
2025-11-16 19:30:08 -05:00
parent 84136a4af6
commit ff84a3bb94
5 changed files with 214 additions and 35 deletions

View File

@@ -33,11 +33,23 @@
services.kmscon.enable = true;
# Gamescope configuration for Steam Deck-like experience
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
gamescopeSession.enable = true;
};
};
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${lib.getExe pkgs.tuigreet} --time --cmd niri-session";
command = "${lib.getExe pkgs.tuigreet} --sessions --time";
user = username;
};
terminal.vt = lib.mkForce 2;

View File

@@ -25,20 +25,26 @@
fsType = "f2fs";
options = [ "nofail" ];
};
networking.hostId = "abf570f9";
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "yes"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
PasswordAuthentication = false;
PermitRootLogin = "yes";
};
};
users.users.${username}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4jL6gYOunUlUtPvGdML0cpbKSsPNqQ1jit4E7U1RyH" # laptop
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4jL6gYOunUlUtPvGdML0cpbKSsPNqQ1jit4E7U1RyH" # laptop
];
programs.steam = {
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;