hosts/dunamis/programs.nix: add mosh

modules/home/desktop/niri/default.nix: change tab bar
modules/home/programs/terminal/wezterm.nix: fix keybinds
modules/nixos/desktop/niri.nix: auto-unlock gnome-keyring

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-10 15:37:25 +03:00
parent 4166160eb9
commit 4c5a461712
4 changed files with 11 additions and 9 deletions

View File

@ -5,6 +5,7 @@
}: { }: {
programs = { programs = {
fish.enable = true; fish.enable = true;
mosh.enable = true;
nh = { nh = {
enable = true; enable = true;
flake = "/home/user/.config/nixos"; flake = "/home/user/.config/nixos";

View File

@ -445,13 +445,13 @@ in {
tab-indicator { tab-indicator {
active-color "#${colors.base04}" active-color "#${colors.base04}"
inactive-color "#${colors.base03}" inactive-color "#${colors.base03}"
width 8
gap 6
corner-radius 4 corner-radius 4
gaps-between-tabs 0 gap 6
gaps-between-tabs 3
length total-proportion=0.3 length total-proportion=0.3
position "bottom"
place-within-column place-within-column
position "left"
width 8
} }
focus-ring { focus-ring {
// off // off

View File

@ -58,7 +58,7 @@ in {
}, },
use_fancy_tab_bar = false, use_fancy_tab_bar = false,
inactive_pane_hsb = { inactive_pane_hsb = {
saturation = 0.8, -- saturation = 0.8,
brightness = 0.7, brightness = 0.7,
}, },
-- window_frame = { -- window_frame = {
@ -69,9 +69,9 @@ in {
keys = { keys = {
{ key = 'Enter', mods = 'SHIFT|CTRL', action = act.ActivateCopyMode }, { key = 'Enter', mods = 'SHIFT|CTRL', action = act.ActivateCopyMode },
{ key = 'R', mods = 'SHIFT|CTRL', action = act.ReloadConfiguration }, { key = 'R', mods = 'SHIFT|CTRL', action = act.ReloadConfiguration },
{ key = '+', mods = 'SHIFT|CTRL', action = act.IncreaseFontSize }, { key = '=', mods = 'CTRL', action = act.IncreaseFontSize },
{ key = '-', mods = 'SHIFT|CTRL', action = act.DecreaseFontSize }, { key = '-', mods = 'CTRL', action = act.DecreaseFontSize },
{ key = '0', mods = 'SHIFT|CTRL', action = act.ResetFontSize }, { key = '0', mods = 'CTRL', action = act.ResetFontSize },
{ key = 'C', mods = 'SHIFT|CTRL', action = act.CopyTo 'Clipboard' }, { key = 'C', mods = 'SHIFT|CTRL', action = act.CopyTo 'Clipboard' },
-- { key = 'N', mods = 'SHIFT|CTRL', action = act.SpawnWindow }, -- { key = 'N', mods = 'SHIFT|CTRL', action = act.SpawnWindow },
{ key = 'l', mods = 'SHIFT|CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } }, { key = 'l', mods = 'SHIFT|CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } },

View File

@ -20,6 +20,7 @@ in {
]; ];
fonts.fontDir.enable = true; fonts.fontDir.enable = true;
security.pam = { security.pam = {
services.greetd.enableGnomeKeyring = true;
services.gtklock = {}; services.gtklock = {};
loginLimits = [ loginLimits = [
{ {