framework: merged updates

This commit is contained in:
Tristan 2025-09-08 16:27:09 +01:00
commit 3ba1aecdb4
15 changed files with 72 additions and 96 deletions

View file

@ -41,6 +41,8 @@
programs.yazi.enable = true;
programs.bat.enable = true;
programs.zoxide.enable = true;
programs.rbw = {

View file

@ -11,6 +11,7 @@
];
programs.waybar.settings.mainBar.modules-left = ["niri/workspaces" "niri/window"];
programs.waybar.settings.mainBar.modules-right = lib.mkBefore ["niri/language"];
programs.fuzzel = {
enable = true;
@ -32,8 +33,8 @@
programs.niri = {
settings = {
input.keyboard = {
xkb.layout = "us";
xkb.variant = "dvorak";
xkb.layout = "us,gb";
xkb.variant = "dvorak,";
xkb.options = "caps:escape";
};
input.mouse = {
@ -57,7 +58,7 @@
};
environment = {
NIXOS_OZONE_WL = "1";
DISPLAY = ":1";
DISPLAY = ":0";
};
binds = with config.lib.niri.actions; {
"Mod+Return".action.spawn = [(lib.getExe config.programs.terminal)];
@ -110,6 +111,7 @@
"Mod+M".action = switch-preset-column-width;
"Mod+G".action = toggle-window-floating;
"Mod+Shift+Ctrl+Alt+Space".action = switch-layout "next";
"Print".action = screenshot;

View file

@ -7,7 +7,7 @@
layer = "bottom";
position = "top";
height = 36;
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "pulseaudio" "clock" "tray" "battery"];
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "wireplumber" "clock" "tray" "battery"];
"cpu" = {
"format" = "{icon}";
"format-icons" = ["" "" "" "" "" "" "" ""];
@ -35,24 +35,19 @@
tooltip-format-activated = "system sleep inhibited";
tooltip-format-deactivated = "system will sleep when idle";
};
pulseaudio = {
format-muted = "🔇 {volume}";
format = "{icon} {volume}";
format-icons.default = ["🔈" "🔉" "🔊"];
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
wireplumber = {
format-muted = "🔇";
format = "{icon} {volume}%";
format-icons = ["🔈" "🔉" "🔊"];
on-click = "pwvucontrol";
};
mpris = {
format = "{player_icon} {title}";
format-paused = " {player_icon} {title}";
player-icons = {
default = "";
mpd = "🎵";
kdeconnect = "";
};
format = " {title}";
format-paused = " {title}";
};
battery = {
format = "{icon} {capacity}%";
format-icons = ["🤏" "🪫" "🔋" "🔋"];
format-icons = ["🪫" "🔋" "🔋"];
format-charging = "🔌 {capacity}%";
states = {
warning = 30;

View file

@ -25,7 +25,6 @@
youtube-music
transmission_4-gtk
feishin
grayjay
# other
element-desktop

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: let
modifier = config.windowManager.modifierKey;
@ -43,7 +44,7 @@ in {
home.sessionVariables = {
CYPRESS_INSTALL_BINARY = 0;
CYPRESS_RUN_BINARY = "${pkgs.cypress}/bin/Cypress";
MONGOMS_SYSTEM_BINARY = "${pkgs.callPackage ../../pkgs/mongodb.nix pkgs}/bin/mongod";
MONGOMS_SYSTEM_BINARY = lib.getExe' pkgs.mongodb-7_0 "mongod";
};
gtk.gtk3.bookmarks = [

View file

@ -28,7 +28,6 @@
playerctl
quickemu
devenv
bottles
];
services.udiskie = {