waybar fix
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
# Edit this configuration file to define what should be installed on your system. Help is available in the configuration.nix(5) man page, on https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
{
|
||||
imports = [ ./waybar.nix ];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; # GNOME-style file pickers
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
programs.dconf.profiles.user.databases = [{
|
||||
settings."org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
@@ -94,12 +99,17 @@
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"mako"
|
||||
"hyprpaper"
|
||||
# "nm-applet"
|
||||
# "hypridle"
|
||||
#"nextcloud --background"
|
||||
];
|
||||
|
||||
env = [ "XCURSOR_THEME,Adwaita" "XCURSOR_SIZE,24" ];
|
||||
env = [
|
||||
"XCURSOR_THEME,Adwaita"
|
||||
"XCURSOR_SIZE,24"
|
||||
"XDG_CURRENT_DESKTOP,Hyprland:GNOME"
|
||||
];
|
||||
|
||||
misc = {
|
||||
force_default_wallpaper = 0;
|
||||
@@ -151,6 +161,11 @@
|
||||
"$mod, L, movefocus, r"
|
||||
"$mod, K, movefocus, u"
|
||||
"$mod, J, movefocus, d"
|
||||
|
||||
"$mod SHIFT, H, movewindow, l"
|
||||
"$mod SHIFT, L, movewindow, r"
|
||||
"$mod SHIFT, K, movewindow, u"
|
||||
"$mod SHIFT, J, movewindow, d"
|
||||
|
||||
# workspaces
|
||||
"$mod, 1, workspace, 1"
|
||||
@@ -171,6 +186,10 @@
|
||||
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||
|
||||
", Print, exec, grimblast --freeze copy area"
|
||||
"SHIFT, Print, exec, grimblast copy screen"
|
||||
"$mod, Print, exec, mkdir -p ~/Pictures/Screenshots && grimblast save screen ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
|
||||
];
|
||||
|
||||
# drag/resize windows with Super + mouse
|
||||
@@ -179,6 +198,15 @@
|
||||
"$mod, mouse:273, resizewindow"
|
||||
];
|
||||
|
||||
bindel = [
|
||||
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
];
|
||||
bindl = [
|
||||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||
];
|
||||
|
||||
# monitor = [
|
||||
# "DP-3, 2560x1440@170, 1440x700, 1"
|
||||
# "HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1"
|
||||
@@ -270,6 +298,14 @@
|
||||
# '';
|
||||
# };
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preload = [ "/home/jeremy/nixos/wallpapers/sunset-marfa.png" ];
|
||||
wallpaper = [ ", /home/jeremy/nixos/wallpapers/sunset-marfa.png" ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = { # Configure nvim
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
@@ -328,7 +364,7 @@
|
||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.typst # bleeding edge html exports for typst
|
||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.tinymist # typst previews
|
||||
nextcloud-client
|
||||
signal-desktop
|
||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.signal-desktop
|
||||
# swaybg # wallpaper
|
||||
nixfmt # nix file formatting
|
||||
openrgb # RGB editor
|
||||
@@ -356,6 +392,8 @@
|
||||
gnumake # make & makefile
|
||||
zathura
|
||||
thunderbird
|
||||
claude-code
|
||||
gdb
|
||||
];
|
||||
};
|
||||
|
||||
@@ -388,7 +426,7 @@
|
||||
waybar fuzzel mako hyprlock hypridle
|
||||
adwaita-icon-theme gnome-themes-extra
|
||||
networkmanagerapplet pavucontrol brightnessctl
|
||||
wl-clipboard grim slurp nautilus
|
||||
wl-clipboard grim slurp grimblast nautilus
|
||||
];
|
||||
|
||||
|
||||
@@ -407,6 +445,8 @@
|
||||
powerOnBoot = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.ollama = {
|
||||
enable = false;
|
||||
package = pkgs.ollama;
|
||||
|
||||
Reference in New Issue
Block a user