basic tmux conf

This commit is contained in:
Kopatz
2025-09-30 17:31:16 +02:00
parent 238ece0ca6
commit 326dc594a2
3 changed files with 13 additions and 8 deletions

View File

@@ -28,8 +28,6 @@
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
nixpkgs-working-xrdp.url = "github:NixOS/nixpkgs/b26c89e6aa1d7731d5e267656207f2e1c2f37f1d"; nixpkgs-working-xrdp.url = "github:NixOS/nixpkgs/b26c89e6aa1d7731d5e267656207f2e1c2f37f1d";
#nixpkgs-working-jetbrains.url = "github:symphorien/nixpkgs/jdk_structured_attrs";
#nixpkgs-working-jetbrains.url = "github:Janrupf/nixpkgs/master";
# cosmic testing # cosmic testing
#nixos-cosmic = { #nixos-cosmic = {
# url = "github:lilyinstarlight/nixos-cosmic"; # url = "github:lilyinstarlight/nixos-cosmic";

View File

@@ -38,6 +38,13 @@ in {
keybindings = true; keybindings = true;
}; };
environment.etc."tmux.conf".text = ''
set -g mouse on
set -g allow-passthrough on
set -g set-clipboard on
set -g prefix C-space
'';
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
getTotalPowerUsed getTotalPowerUsed
watchCurrentPowerUsed watchCurrentPowerUsed
@@ -93,7 +100,7 @@ in {
nix-tree # show nix derivations nix-tree # show nix derivations
binwalk # show what's inside a binary binwalk # show what's inside a binary
iotop iotop
inetutils inetutils
nettools nettools
]; ];
}; };

View File

@@ -92,11 +92,11 @@
defaultWindowManager = "xfce4-session"; defaultWindowManager = "xfce4-session";
enable = true; enable = true;
openFirewall = false; openFirewall = false;
extraConfDirCommands = '' #extraConfDirCommands = ''
substituteInPlace $out/sesman.ini \ # substituteInPlace $out/sesman.ini \
--replace LogLevel=INFO LogLevel=DEBUG \ # --replace LogLevel=INFO LogLevel=DEBUG \
--replace LogFile=/dev/null LogFile=/var/log/xrdp.log # --replace LogFile=/dev/null LogFile=/var/log/xrdp.log
''; #'';
}; };
security.polkit.enable = true; security.polkit.enable = true;
security.polkit.extraConfig = '' security.polkit.extraConfig = ''