This commit is contained in:
2024-11-30 18:29:31 +01:00
parent 9ab12a589f
commit 1ab78c65d7
8 changed files with 170 additions and 31 deletions

View File

@@ -23,6 +23,11 @@
keybinds {
normal {
bind "Ctrl e" { ToggleFloatingPanes; SwitchToMode "normal"; }
bind "Ctrl 1" { GoToTab 1; }
bind "Ctrl 2" { GoToTab 2; }
bind "Ctrl 3" { GoToTab 3; }
bind "Ctrl 4" { GoToTab 4; }
bind "Ctrl 5" { GoToTab 5; }
}
}
'';
@@ -44,4 +49,39 @@
}
'';
};
home.file.zellij-layout-dioxus = {
target = ".config/zellij/layouts/dioxus.kdl";
text = ''
layout {
tab {
pane {
command "hx"
args "."
focus true
}
floating_panes {
pane {
width "80%"
height "80%"
x "10%"
y "10%"
}
}
}
tab {
pane {
command "dx"
args "serve"
}
}
tab {
pane {
command "devenv"
args "up"
}
}
}
'';
};
}

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
fonts.fontconfig.enable = true;
@@ -8,6 +8,8 @@
fira-code
font-awesome
dejavu_fonts
roboto
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
inputs.apple-fonts.packages.${pkgs.system}.sf-pro
];
}

View File

@@ -69,10 +69,7 @@
decoration = {
rounding = "5";
drop_shadow = "false";
blur.enabled = "false";
shadow_render_power = "3";
"col.shadow" = "rgba(1a1a1aee)";
};
gestures = {

View File

@@ -3,14 +3,13 @@
{
boot.initrd.kernelModules = [ "amdgpu" ];
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
amdvlk
mesa.drivers
];
hardware.opengl.extraPackages32 = with pkgs; [
hardware.graphics.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];