mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
gotty again
This commit is contained in:
parent
7c4008a2c1
commit
5e362f92ab
2 changed files with 11 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# Limitations:
|
||||
# - tmux session must be launched first outside of systemd.
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue