My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

force chromium apps run under wayland

ydcjeff 97bec5bf 4e906568

+38 -13
-2
config/fish/config.fish
··· 1 - set -gx EDITOR nvim 2 - set -gx BROWSER firefox 3 1 set -gx DOTFILES_PATH $HOME/.dotfiles 4 2 set -gx XDG_CONFIG_HOME $HOME/.config 5 3 set -gx XDG_CACHE_HOME $HOME/.cache
+1 -1
config/git/config
··· 5 5 ui = true 6 6 7 7 [core] 8 - editor = nvim 8 + editor = vim 9 9 pager = delta 10 10 11 11 [delta]
+8 -6
config/waybar/config.jsonc
··· 1 1 { 2 2 "layer": "top", 3 3 "position": "top", 4 - "modules-left": ["niri/workspaces"], 4 + "modules-left": ["niri/workspaces", "niri/window"], 5 5 "modules-center": ["clock"], 6 6 "modules-right": [ 7 7 "group/misc", ··· 9 9 "battery", 10 10 "bluetooth", 11 11 "network", 12 - "pulseaudio", 12 + "wireplumber", 13 13 "tray", 14 14 ], 15 15 "reload_style_on_change": true, 16 - "niri/workspaces": {}, 16 + "niri/window": { 17 + "format": "{title} | {app_id}", 18 + }, 17 19 "clock": { 18 20 "format": "{:L%F %H:%M}", 19 21 "tooltip": false, ··· 43 45 "format-connected": "\udb80\udcb1", 44 46 // nf-md-airplane 45 47 "format-disabled": "\udb80\udc1d", 46 - "on-click": "exec setsid $TERMINAL -e bluetui", 48 + "on-click": "$TERMINAL -e bluetui", 47 49 }, 48 50 "cpu": { 49 51 // nf-md-cpu-64-bit ··· 63 65 "tooltip-format-wifi": "{essid} ({frequency} GHz)\nDown: {bandwidthDownBytes} Up: {bandwidthUpBytes}", 64 66 "tooltip-format-ethernet": "Down: {bandwidthDownBytes} Up: {bandwidthUpBytes}", 65 67 "tooltip-format-disconnected": "Disconnected", 66 - "on-click": "exec setsid $TERMINAL -e nmtui", 68 + "on-click": "$TERMINAL -e nmtui", 67 69 }, 68 - "pulseaudio": { 70 + "wireplumber": { 69 71 // nf-md-volume_high 70 72 "format": "\udb81\udd7e {volume}%", 71 73 // nf-md-volume_mute
+1 -1
modules/desktop.nix
··· 51 51 systemd.user.services.waybar.path = [ 52 52 (builtins.getEnv "PATH") 53 53 ]; 54 - systemd.user.services.waybar.environment = config.environment.variables; 54 + systemd.user.services.waybar.environment = config.environment.variables; 55 55 environment.systemPackages = with pkgs; [ 56 56 bluetui 57 57 swaybg
+28 -3
modules/nixos.nix
··· 70 70 environment.systemPackages = 71 71 with pkgs; 72 72 [ 73 - brave 74 - discord 73 + (brave.override { 74 + commandLineArgs = builtins.concatStringsSep " " [ 75 + "--ozone-platform=wayland" 76 + "--ozone-platform-hint=wayland" 77 + "--enable-features=TouchpadOverscrollHistoryNavigation" 78 + "--enable-features=WaylandWindowDecorations" 79 + "--enable-features=WebRTCPipeWireCapturer" 80 + ]; 81 + }) 82 + (discord.override { 83 + commandLineArgs = builtins.concatStringsSep " " [ 84 + "--ozone-platform=wayland" 85 + "--ozone-platform-hint=wayland" 86 + "--enable-features=TouchpadOverscrollHistoryNavigation" 87 + "--enable-features=WaylandWindowDecorations" 88 + "--enable-features=WebRTCPipeWireCapturer" 89 + ]; 90 + }) 75 91 ghostty 76 92 mpv 77 93 sublime-merge 78 94 telegram-desktop 79 - vscode 95 + (vscode.override { 96 + commandLineArgs = builtins.concatStringsSep " " [ 97 + "--ozone-platform=wayland" 98 + "--ozone-platform-hint=wayland" 99 + "--enable-features=TouchpadOverscrollHistoryNavigation" 100 + "--enable-features=WaylandWindowDecorations" 101 + "--enable-features=WebRTCPipeWireCapturer" 102 + ]; 103 + }) 80 104 # xdg 81 105 xdg-utils 82 106 xdg-user-dirs ··· 177 201 initialHashedPassword = "$y$j9T$O7VoQkhQTjxjK598z6hMG1$aSZFDwnZng.WpV6ulvT.Dt0qul5cnZAolnHnT8N9mZ4"; 178 202 extraGroups = [ 179 203 "${my.username}" 204 + "docker" 180 205 "networkmanager" 181 206 "wheel" 182 207 "input"