From 7939bc2fddeae603ffe5a6029dd71849ed7a938e Mon Sep 17 00:00:00 2001 From: bad Date: Fri, 29 Oct 2021 18:16:07 +0200 Subject: [PATCH] Add network manager to the workstation level --- suites/default.nix | 4 ++-- users/profiles/tmux/default.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 users/profiles/tmux/default.nix diff --git a/suites/default.nix b/suites/default.nix index 25e3e19..6893a73 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -1,7 +1,7 @@ { profiles, ... }: with profiles; rec { base = [ users.root core dnscrypt ]; - workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java pipewire ]; + workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java pipewire networkmanager ]; desktop = workstation ++ [ users.mae-desk amd three_dee androidev ]; - lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager androidev ]; + lap = workstation ++ [ users.mae-lap laptop bluetooth print androidev ]; } diff --git a/users/profiles/tmux/default.nix b/users/profiles/tmux/default.nix new file mode 100644 index 0000000..ff640a0 --- /dev/null +++ b/users/profiles/tmux/default.nix @@ -0,0 +1,14 @@ +{ + programs.tmux = { + enable = true; + escapeTime = 0; + historyLimit = 5000; + terminal = "screen-256color"; + extraConfig = '' + bind c new-window -c "#{pane_current_path}" + + set -ga terminal-overrides ",alacritty:RGB" + set -ga terminal-overrides ",alacritty:Tc" + ''; + }; +}