This commit is contained in:
albert 2024-03-20 12:00:50 +09:00
parent 19b4ca7c2d
commit ad840a141d
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
3 changed files with 9 additions and 8 deletions

View file

@ -27,12 +27,10 @@
prefix-highlight prefix-highlight
]; ];
extraConfig = '' extraConfig = ''
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind | split-window -h bind | split-window -h
bind - split-window -v bind - split-window -v
bind n swap-window -t +1
bind N swap-window -t -1
''; '';
}; };
} }

View file

@ -1,4 +1,4 @@
{ lib, inputs, config, pkgs, username, hostname, gpu, ... }: { { pkgs, ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;

View file

@ -1,13 +1,16 @@
{ stateversion, username, ... }: { { username, stateVersion, ... }: {
networking.firewall.allowedTCPPorts = [ 3390 ];
containers.desktop = { containers.desktop = {
autoStart = true; autoStart = true;
privateNetwork = false; privateNetwork = false;
config = { config, pkgs, lib, ... }: { config = { config, pkgs, lib, ... }: {
networking.hostName = "nixos-rdesktop"; networking.hostName = "nixos-rdesktop";
system.stateVersion = stateversion; system.stateVersion = stateVersion;
imports = [ imports = [
../common/desktops/xfce ../common/desktops/xfce
../users/${username}
]; ];
networking.firewall = { networking.firewall = {