diff --git a/configurations/nixos/pureintent/default.nix b/configurations/nixos/pureintent/default.nix index bcfe525..f935bd1 100644 --- a/configurations/nixos/pureintent/default.nix +++ b/configurations/nixos/pureintent/default.nix @@ -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"; diff --git a/modules/home/all/gotty.nix b/modules/home/all/gotty.nix index a596487..e136020 100644 --- a/modules/home/all/gotty.nix +++ b/modules/home/all/gotty.nix @@ -1,3 +1,5 @@ +# Limitations: +# - tmux session must be launched first outside of systemd. { config, lib, pkgs, ... }: with lib;