added more stuff
This commit is contained in:
parent
369cfc5d52
commit
6eacd76d61
13 changed files with 237 additions and 60 deletions
20
Install-RootCA.ps1
Normal file
20
Install-RootCA.ps1
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
param(
|
||||||
|
[Parameter(Mandatory = $true)]
|
||||||
|
[string]$CertPath
|
||||||
|
)
|
||||||
|
if (-not (Test-Path -Path $CertPath)) {
|
||||||
|
throw "Cert file not found: $CertPath"
|
||||||
|
}
|
||||||
|
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($CertPath)
|
||||||
|
$thumbprint = $cert.Thumbprint
|
||||||
|
$store = New-Object System.Security.Cryptography.X509Certificates.X509Store("Root","LocalMachine")
|
||||||
|
$store.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
|
||||||
|
$existing = $store.Certificates | Where-Object { $_.Thumbprint -eq $thumbprint }
|
||||||
|
if ($existing.Count -eq 0) {
|
||||||
|
$store.Add($cert)
|
||||||
|
Write-Host "Installed root CA: $thumbprint"
|
||||||
|
} else {
|
||||||
|
Write-Host "Root CA already installed: $thumbprint"
|
||||||
|
}
|
||||||
|
$store.Close()
|
||||||
|
|
||||||
38
flake.lock
generated
38
flake.lock
generated
|
|
@ -858,6 +858,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771008912,
|
||||||
|
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744536153,
|
"lastModified": 1744536153,
|
||||||
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
|
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
|
||||||
|
|
@ -920,6 +936,25 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"powershell-es": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_7"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771417904,
|
||||||
|
"narHash": "sha256-jkBfryAeEk3GRc57CiWfN7vmFxp1N7cPvnV70ZDUO6o=",
|
||||||
|
"ref": "main",
|
||||||
|
"rev": "7f29c36557a1dffe6d663d1e98e91dd567f8e2d0",
|
||||||
|
"revCount": 4,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.wastring.com/fw/powershell-es"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"ref": "main",
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.wastring.com/fw/powershell-es"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
|
@ -955,6 +990,7 @@
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_6",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
|
"powershell-es": "powershell-es",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
"typsite": "typsite"
|
"typsite": "typsite"
|
||||||
|
|
@ -962,7 +998,7 @@
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749004659,
|
"lastModified": 1749004659,
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
};
|
};
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
confetti.url = "git+https://git.wastring.com/fw/confetti?ref=main";
|
confetti.url = "git+https://git.wastring.com/fw/confetti?ref=main";
|
||||||
|
powershell-es.url = "git+https://git.wastring.com/fw/powershell-es?ref=main";
|
||||||
bbk.url = "git+https://git.wastring.com/fw/bbk?ref=main";
|
bbk.url = "git+https://git.wastring.com/fw/bbk?ref=main";
|
||||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
|
|
@ -44,6 +45,7 @@
|
||||||
sops-nix,
|
sops-nix,
|
||||||
catppuccin,
|
catppuccin,
|
||||||
confetti,
|
confetti,
|
||||||
|
powershell-es,
|
||||||
bbk,
|
bbk,
|
||||||
nixvim,
|
nixvim,
|
||||||
disko,
|
disko,
|
||||||
|
|
@ -85,7 +87,7 @@
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
catppuccin.nixosModules.catppuccin
|
catppuccin.nixosModules.catppuccin
|
||||||
confetti.nixosModules.default
|
confetti.nixosModules.default
|
||||||
bbk.nixosModules.default
|
# bbk.nixosModules.default
|
||||||
nixvim.nixosModules.default
|
nixvim.nixosModules.default
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
];
|
];
|
||||||
|
|
@ -99,7 +101,7 @@
|
||||||
./maskiner/node/configuration.nix
|
./maskiner/node/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
bbk.nixosModules.default
|
# bbk.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
core = nixpkgs.lib.nixosSystem {
|
core = nixpkgs.lib.nixosSystem {
|
||||||
|
|
@ -126,7 +128,7 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./maskiner/archive/configuration.nix
|
./maskiner/archive/configuration.nix
|
||||||
bbk.nixosModules.default
|
# bbk.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,10 @@ in
|
||||||
kubernetes-tools.enable = true;
|
kubernetes-tools.enable = true;
|
||||||
networking.hostName = myhostname;
|
networking.hostName = myhostname;
|
||||||
|
|
||||||
|
security.pki.certificateFiles = [
|
||||||
|
../../root_ca.crt
|
||||||
|
];
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme}.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme}.yaml";
|
||||||
|
|
@ -53,8 +57,8 @@ in
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.cifs-utils ];
|
environment.systemPackages = [ pkgs.cifs-utils ];
|
||||||
|
|
||||||
fileSystems."/mnt/testweb/inetpub" = {
|
fileSystems."/mnt/testweb/C" = {
|
||||||
device = "//192.168.0.226/inetpub";
|
device = "//192.168.0.226/C$";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options =
|
options =
|
||||||
let
|
let
|
||||||
|
|
@ -67,8 +71,22 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/testweb/Logs" = {
|
fileSystems."/mnt/elastic-internal/C" = {
|
||||||
device = "//192.168.0.226/Logs";
|
device = "//192.168.0.204/C$";
|
||||||
|
fsType = "cifs";
|
||||||
|
options =
|
||||||
|
let
|
||||||
|
automount_opts =
|
||||||
|
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||||
|
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||||
|
in
|
||||||
|
[
|
||||||
|
"${automount_opts},credentials=${toString config.sops.secrets.build-service.path},vers=3.0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/dev-machine2/C" = {
|
||||||
|
device = "//192.168.0.149/C$";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options =
|
options =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ in
|
||||||
(modulesDirectory + /services/kanboard)
|
(modulesDirectory + /services/kanboard)
|
||||||
(modulesDirectory + /services/immich)
|
(modulesDirectory + /services/immich)
|
||||||
(modulesDirectory + /services/paperless)
|
(modulesDirectory + /services/paperless)
|
||||||
|
(modulesDirectory + /services/filebrowser)
|
||||||
];
|
];
|
||||||
|
|
||||||
sops.defaultSopsFile = ../../secrets/sops.yaml;
|
sops.defaultSopsFile = ../../secrets/sops.yaml;
|
||||||
|
|
@ -94,6 +95,12 @@ in
|
||||||
port = 8121;
|
port = 8121;
|
||||||
domain = "message.wastring.com";
|
domain = "message.wastring.com";
|
||||||
};
|
};
|
||||||
|
filebrowser = {
|
||||||
|
enable = true;
|
||||||
|
host = "127.0.0.1";
|
||||||
|
port = 8126;
|
||||||
|
domain = "files.wastring.com";
|
||||||
|
};
|
||||||
glance = {
|
glance = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,6 @@
|
||||||
frame_color = "#eceff1";
|
frame_color = "#eceff1";
|
||||||
corner_radius = 10;
|
corner_radius = 10;
|
||||||
};
|
};
|
||||||
# urgency_normal = {
|
|
||||||
# background = "#181818";
|
|
||||||
# foreground = "#dfdfdf";
|
|
||||||
# timeout = 10;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ in
|
||||||
lg = "lazygit";
|
lg = "lazygit";
|
||||||
ka = "kubectl apply -f";
|
ka = "kubectl apply -f";
|
||||||
t = "timew";
|
t = "timew";
|
||||||
|
a = "nix develop; opencode";
|
||||||
todo = "jira issue list -a 'Fredrik Wastring' -s ~Done -s ~Closed -s ~Released --plain";
|
todo = "jira issue list -a 'Fredrik Wastring' -s ~Done -s ~Closed -s ~Released --plain";
|
||||||
cam = "jira issue create && jira issue assign && jira issue move";
|
cam = "jira issue create && jira issue assign && jira issue move";
|
||||||
e = "kubectx";
|
e = "kubectx";
|
||||||
|
|
@ -104,7 +105,7 @@ in
|
||||||
set -e GOROOT
|
set -e GOROOT
|
||||||
set -x -U GOPATH $HOME/.go
|
set -x -U GOPATH $HOME/.go
|
||||||
gh completion -s fish > ~/.config/fish/completions/gh.fish
|
gh completion -s fish > ~/.config/fish/completions/gh.fish
|
||||||
set -gx PATH $PATH $HOME/.krew/bin
|
set -gx PATH $PATH $HOME/scripts
|
||||||
|
|
||||||
set -Ux FZF_DEFAULT_OPTS "${fzfOpts}"
|
set -Ux FZF_DEFAULT_OPTS "${fzfOpts}"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,46 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xdg.configFile."bongocat/bongocat.conf".text = ''
|
||||||
|
# Position & Size
|
||||||
|
cat_height=80
|
||||||
|
cat_align=center
|
||||||
|
cat_x_offset=-500
|
||||||
|
cat_y_offset=-15
|
||||||
|
|
||||||
|
# Appearance
|
||||||
|
enable_antialiasing=1
|
||||||
|
overlay_height=80
|
||||||
|
overlay_opacity=0
|
||||||
|
overlay_position=top
|
||||||
|
# mirror_x=0
|
||||||
|
# mirror_y=0
|
||||||
|
|
||||||
|
# Input device (run bongocat-find-devices to find yours)
|
||||||
|
keyboard_device=/dev/input/event10
|
||||||
|
|
||||||
|
# Multi-monitor (optional - auto-detects by default)
|
||||||
|
# monitor=eDP-1
|
||||||
|
|
||||||
|
# Sleep mode (optional)
|
||||||
|
# idle_sleep_timeout=300
|
||||||
|
# enable_scheduled_sleep=0
|
||||||
|
# sleep_begin=22:00
|
||||||
|
# sleep_end=06:00
|
||||||
|
'';
|
||||||
|
systemd.user.services.bongocat = {
|
||||||
|
Unit = {
|
||||||
|
Description = "BongoCat watcher";
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.wayland-bongocat}/bin/bongocat --watch-config -c %h/.config/bongocat/bongocat.conf";
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
home.username = "fw";
|
home.username = "fw";
|
||||||
home.homeDirectory = "/home/fw";
|
home.homeDirectory = "/home/fw";
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# GUI
|
# GUI
|
||||||
feishin
|
feishin
|
||||||
|
vscode
|
||||||
signal-desktop
|
signal-desktop
|
||||||
thunderbird
|
thunderbird
|
||||||
discord
|
discord
|
||||||
|
|
@ -71,10 +72,8 @@
|
||||||
remmina
|
remmina
|
||||||
brightnessctl
|
brightnessctl
|
||||||
speedcrunch
|
speedcrunch
|
||||||
trilium-desktop
|
wayland-bongocat
|
||||||
libreoffice
|
opencode
|
||||||
|
|
||||||
gnumake
|
|
||||||
|
|
||||||
dbeaver-bin
|
dbeaver-bin
|
||||||
(
|
(
|
||||||
|
|
@ -106,12 +105,8 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
# ansible
|
|
||||||
# freecad-wayland
|
|
||||||
|
|
||||||
# TUI
|
# TUI
|
||||||
codex
|
codex
|
||||||
gemini-cli
|
|
||||||
|
|
||||||
# Browsers
|
# Browsers
|
||||||
librewolf
|
librewolf
|
||||||
|
|
|
||||||
|
|
@ -244,7 +244,7 @@ with lib;
|
||||||
"$mod, u, focusurgentorlast"
|
"$mod, u, focusurgentorlast"
|
||||||
"$mod, tab, focuscurrentorlast"
|
"$mod, tab, focuscurrentorlast"
|
||||||
"$mod, f, fullscreen"
|
"$mod, f, fullscreen"
|
||||||
"$mod, b, exec, pkill -USR1 waybar"
|
"$mod, b, exec, pkill -USR1 waybar && pkill -USR1 bongocat"
|
||||||
|
|
||||||
# Screen resize
|
# Screen resize
|
||||||
"$mod CTRL, h, resizeactive, -20 0"
|
"$mod CTRL, h, resizeactive, -20 0"
|
||||||
|
|
@ -306,19 +306,6 @@ with lib;
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
windowrulev2 = [
|
|
||||||
"float, class:^(org.pulseaudio.pavucontrol)$"
|
|
||||||
"size 500 400, class:^(org.pulseaudio.pavucontrol)"
|
|
||||||
"move onscreen cursor -250 10, class:^(org.pulseaudio.pavucontrol)"
|
|
||||||
"float, title:^(Bluetooth Devices)$"
|
|
||||||
"size 500 400, title:^(Bluetooth Devices)"
|
|
||||||
"move onscreen cursor -250 10, title:^(Bluetooth Devices)"
|
|
||||||
|
|
||||||
"float, class:^(.playerctl-gtk-wrapped)$"
|
|
||||||
"size 300 50, class:^(.playerctl-gtk-wrapped)"
|
|
||||||
"move onscreen cursor -150 30, class:^(.playerctl-gtk-wrapped)"
|
|
||||||
];
|
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"NIXOS_OZONE_WL,1"
|
"NIXOS_OZONE_WL,1"
|
||||||
"_JAVA_AWT_WM_NONREPARENTING,1"
|
"_JAVA_AWT_WM_NONREPARENTING,1"
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
psesPkg = inputs.powershell-es.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
in
|
in
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
|
|
@ -331,6 +332,25 @@ with lib;
|
||||||
jsonls.enable = true;
|
jsonls.enable = true;
|
||||||
ts_ls.enable = true;
|
ts_ls.enable = true;
|
||||||
helm_ls.enable = true;
|
helm_ls.enable = true;
|
||||||
|
ansiblels = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscode-extensions.redhat.ansible;
|
||||||
|
};
|
||||||
|
jinja_lsp = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.jinja-lsp;
|
||||||
|
filetypes = [
|
||||||
|
"j2"
|
||||||
|
"jinja"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
powershell_es = {
|
||||||
|
enable = true;
|
||||||
|
package = psesPkg;
|
||||||
|
extraOptions = {
|
||||||
|
bundle_path = "${psesPkg}/share/powershell/Modules";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nginx_language_server.enable = config.nixvim.lsp_jobb;
|
nginx_language_server.enable = config.nixvim.lsp_jobb;
|
||||||
dockerls.enable = config.nixvim.lsp_jobb;
|
dockerls.enable = config.nixvim.lsp_jobb;
|
||||||
|
|
|
||||||
52
moduler/services/filebrowser/default.nix
Normal file
52
moduler/services/filebrowser/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
filebrowser = {
|
||||||
|
enable = mkEnableOption "enables filebrowser";
|
||||||
|
port = lib.mkOption {
|
||||||
|
type = lib.types.int;
|
||||||
|
default = 8887;
|
||||||
|
description = "The port filebrowser listens on.";
|
||||||
|
};
|
||||||
|
host = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
defaultText = literalExpression "127.0.0.1";
|
||||||
|
description = "The hostname that filebrowser binds to";
|
||||||
|
};
|
||||||
|
domain = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
defaultText = literalExpression "files.wastring.com";
|
||||||
|
description = "The hostname that filebrowser binds to";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = mkMerge [
|
||||||
|
(mkIf config.filebrowser.enable {
|
||||||
|
|
||||||
|
services.filebrowser = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
address = config.filebrowser.host;
|
||||||
|
port = config.filebrowser.port;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts.${config.filebrowser.domain} = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${toString config.filebrowser.host}:${toString config.filebrowser.port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -4,13 +4,18 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
mouse = true;
|
mouse = true;
|
||||||
prefix = "C-a";
|
prefix = "C-a";
|
||||||
terminal = "st";
|
terminal = "tmux-256color";
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
escapeTime = 0;
|
escapeTime = 0;
|
||||||
baseIndex = 1;
|
baseIndex = 1;
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
tmuxPlugins.sensible
|
tmuxPlugins.sensible
|
||||||
tmuxPlugins.pain-control
|
tmuxPlugins.pain-control
|
||||||
|
tmuxPlugins.session-wizard
|
||||||
|
tmuxPlugins.logging
|
||||||
|
tmuxPlugins.resurrect
|
||||||
|
tmuxPlugins.continuum
|
||||||
|
tmuxPlugins.open
|
||||||
{ plugin = inputs.minimal-tmux.packages.${pkgs.stdenv.hostPlatform.system}.default; }
|
{ plugin = inputs.minimal-tmux.packages.${pkgs.stdenv.hostPlatform.system}.default; }
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
@ -25,14 +30,13 @@
|
||||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
|
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
|
||||||
|
|
||||||
set -g default-terminal "st-256color"
|
set -g @continuum-restore 'on'
|
||||||
set -g terminal-overrides "st-256color"
|
|
||||||
# set -g default-terminal "xterm-kitty"
|
|
||||||
# set -g terminal-overrides "xterm-kitty"
|
|
||||||
|
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
set -ga terminal-overrides ",xterm-256color:Tc"
|
set -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
|
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
|
||||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
|
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue