From ad840a141de40101522ad3341590e121d8d506e0 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 20 Mar 2024 12:00:50 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/tmux.nix | 8 +++----- nixos/common/desktops/xfce/default.nix | 2 +- nixos/containers/rdesktop.nix | 7 +++++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/home-manager/common/software/cli/tmux.nix b/home-manager/common/software/cli/tmux.nix index bb78d31b..86e030d0 100644 --- a/home-manager/common/software/cli/tmux.nix +++ b/home-manager/common/software/cli/tmux.nix @@ -27,12 +27,10 @@ prefix-highlight ]; extraConfig = '' - unbind C-b - set-option -g prefix C-a - bind-key C-a send-prefix - bind | split-window -h - bind - split-window -v + bind - split-window -v + bind n swap-window -t +1 + bind N swap-window -t -1 ''; }; } diff --git a/nixos/common/desktops/xfce/default.nix b/nixos/common/desktops/xfce/default.nix index 169d4963..94bf6d28 100644 --- a/nixos/common/desktops/xfce/default.nix +++ b/nixos/common/desktops/xfce/default.nix @@ -1,4 +1,4 @@ -{ lib, inputs, config, pkgs, username, hostname, gpu, ... }: { +{ pkgs, ... }: { # Enable sound with pipewire. sound.enable = true; hardware.pulseaudio.enable = false; diff --git a/nixos/containers/rdesktop.nix b/nixos/containers/rdesktop.nix index 2ac73514..1aa64daa 100644 --- a/nixos/containers/rdesktop.nix +++ b/nixos/containers/rdesktop.nix @@ -1,13 +1,16 @@ -{ stateversion, username, ... }: { +{ username, stateVersion, ... }: { + networking.firewall.allowedTCPPorts = [ 3390 ]; + containers.desktop = { autoStart = true; privateNetwork = false; config = { config, pkgs, lib, ... }: { networking.hostName = "nixos-rdesktop"; - system.stateVersion = stateversion; + system.stateVersion = stateVersion; imports = [ ../common/desktops/xfce + ../users/${username} ]; networking.firewall = {