gotty again

This commit is contained in:
Sridhar Ratnakumar 2025-09-25 18:35:00 -04:00
parent 7c4008a2c1
commit 5e362f92ab
2 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ flake, ... }:
{ config, flake, pkgs, lib, ... }:
let
inherit (flake) inputs;
@ -17,6 +17,14 @@ in
home-manager.sharedModules = [
(self + /modules/home/all/dropbox.nix)
(self + /modules/home/all/vira.nix)
{
services.gotty = {
enable = true;
port = 9999;
command = "${lib.getExe config.programs.tmux.package} new-session -A -s gotty";
write = true;
};
}
];
nix.settings.sandbox = "relaxed";

View file

@ -1,3 +1,5 @@
# Limitations:
# - tmux session must be launched first outside of systemd.
{ config, lib, pkgs, ... }:
with lib;