niri, waybar, swaylock

This commit is contained in:
Matt Nish-Lapidus 2025-01-30 11:25:14 -05:00
parent f5a0090ea0
commit 41a49f8c2a
12 changed files with 383 additions and 246 deletions

View file

@ -120,8 +120,6 @@
serapeum
]))
# fuzzel
kdlfmt
kdotool
ccl
@ -129,7 +127,6 @@
gdu
poppler_utils
editorconfig-core-c
# clang-tools
cljfmt
libxml2
gdtoolkit_4
@ -146,7 +143,6 @@
libsecret
samba4Full
shellcheck
# waylandpp.dev
wayland-utils
libffi.dev
nodejs_18
@ -158,9 +154,7 @@
ftgl
gperf
numbat
# libGLU
glpng
# libGL
nurl
freecad
procs
@ -193,7 +187,6 @@
fishPlugins.forgit
fishPlugins.colored-man-pages
imgcat
via
vial
bitwarden-cli
@ -201,22 +194,18 @@
tailscale
trayscale
font-manager
scribus
pdfarranger
tdf
pdfchain
pdftk
ghostscript
zathura
gpu-viewer
mesa-demos
gnomeExtensions.just-perfection
gnomeExtensions.dash-to-dock
# gnomeExtensions.solaar-extension
gnomeExtensions.paperwm
gnomeExtensions.custom-hot-corners-extended
gnomeExtensions.media-controls
@ -226,9 +215,10 @@
gnome-software
gnome-tweaks
gnome-photos
gpaste
gnome-keyring
ulauncher
unstable.nwg-look
soundconverter
gtop
wmctrl
@ -238,6 +228,7 @@
whitesur-cursors
whitesur-icon-theme
bibata-cursors
adwaita-qt
icloudpd
squirreldisk
@ -259,14 +250,13 @@
wine = wineWowPackages.stagingFull;
})
unstable.swayosd
spice
spice-gtk
spice-protocol
virt-viewer
virt-manager
bfg-repo-cleaner
# opensnitch
# opensnitch-ui
thunderbird-latest
emojify
smile
@ -274,7 +264,7 @@
impression
zoom-us
nyxt
ungoogled-chromium
unstable.ungoogled-chromium
obsidian
vlc
unstable.polychromatic
@ -330,12 +320,13 @@
ardour
parinfer-rust-emacs
dockfmt
impala
unstable.playerctl
mioctl
rmpc
unstable.door-knocker
unstable.hyprpicker
unstable.halloy
# Audio plugins (LV2, VST2, VST3, LADSPA)
eq10q
@ -402,12 +393,24 @@
NIXOS_OZONE_WL = "1";
GSK_RENDERER = "ngl";
MOZ_ENABLE_WAYLAND = 1;
DISPLAY = ":0";
};
pointerCursor = {
package = pkgs.bibata-cursors;
name = "Bibtata-Modern-Classic";
size = 24;
gtk.enable = true;
x11.enable = true;
};
stateVersion = "24.05";
};
# gtk.cursorTheme = {
# name = "Bibata-Modern-Classic";
# package = pkgs.bibata-cursors;
# };
fonts.fontconfig = {
enable = true;
};
@ -442,6 +445,24 @@
settings = {
main = {
terminal = "${pkgs.wezterm}/bin/wezterm";
dpi-aware = true;
};
border = {
radius = 8;
width = 2;
};
colors = {
background="1e1e2edd";
text="cdd6f4ff";
prompt="bac2deff";
placeholder="7f849cff";
input="cdd6f4ff";
match="f5c2e7ff";
selection="585b70ff";
selection-text="cdd6f4ff";
selection-match="f5c2e7ff";
counter="7f849cff";
border="f5c2e7ff";
};
};
};
@ -475,15 +496,6 @@
sha256 = "sha256-Lv2XtP2x9dkIkUUjMBWVpAs/l55Ztu7gIjKYH6ZzK4s=";
};
}
# {
# name = "zellij.fish";
# src = pkgs.fetchFromGitHub {
# owner = "kpbaks";
# repo = "zellij.fish";
# rev = "0b2393b48b55a7f3b200b5a12ac0cf26444b7172";
# sha256 = "sha256-Nxo6usCI5tqLJ/CZ1YXtCFJ+piy1DGlzFIi9/HSgDIk=";
# };
# }
];
};
starship = {
@ -494,9 +506,10 @@
msmtp.enable = true;
emacs = {
enable = true;
package = (pkgs.emacs.override {
withXwidgets = true;
package = (pkgs.emacs29-pgtk.override {
withGTK3 = true;
# withPGTK = true;
withXwidgets = true;
withNativeCompilation = true;
withTreeSitter = true;
withImageMagick = true;
@ -513,8 +526,8 @@
epkgs.nixfmt
epkgs.parinfer-rust-mode
epkgs.tree-sitter-langs
epkgs.gpastel
epkgs.emacs-everywhere
# epkgs.gpastel
epkgs.pdf-tools
];
};
ripgrep = {
@ -532,12 +545,6 @@
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
};
# zellij = {
# enable = true;
# package = pkgs.unstable.zellij;
# enableFishIntegration = true;
# enableBashIntegration = true;
# };
bat = {
enable = true;
};
@ -604,10 +611,10 @@
waybar = {
enable = true;
package = pkgs.unstable.waybar;
systemd = {
enable = true;
# target = "graphical-session.target";
};
# systemd = {
# enable = true;
# # target = "graphical-session.target";
# };
};
eww = {
enable = true;
@ -628,6 +635,10 @@
primary-color = "#333333";
};
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
"org/gnome/shell/keybindings" = {
shift-overview-up = ["disabled"];
shift-overview-down = ["disabled"];
@ -658,16 +669,30 @@
};
services = {
swayidle = {
enable = true;
extraArgs = [ "-w" ];
timeouts = [
{ timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; }
];
events = [
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ event = "lock"; command = "lock"; }
];
};
playerctld = {
enable = true;
package = pkgs.unstable.playerctl;
};
mako = {
enable = true;
defaultTimeout = 10000;
};
flatpak.enable = true;
syncthing = {
enable = true;
# tray.enable = true;
};
borgmatic = {
enable = true;
@ -678,7 +703,14 @@
emacs = {
enable = true;
defaultEditor = true;
package = pkgs.emacs;
package = (pkgs.emacs29-pgtk.override {
withGTK3 = true;
# withPGTK = true;
withXwidgets = true;
withNativeCompilation = true;
withTreeSitter = true;
withImageMagick = true;
});
socketActivation.enable = true;
client = {
enable = true;
@ -708,30 +740,31 @@
MOZ_ENABLE_WAYLAND = 1;
};
services = {
syncthingtray = {
Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
};
# syncthingtray = {
# Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
# };
ulauncher = {
Unit = {
Description = "Start Ulauncher";
After = "graphical-session.target";
};
# ulauncher = {
# Unit = {
# Description = "Start Ulauncher";
# After = "graphical-session.target";
# };
Install = {
WantedBy = [ "graphical-session.target" ];
};
# Install = {
# WantedBy = [ "graphical-session.target" ];
# };
Service = {
Restart = "always";
RestartSec = 1;
ExecStart = "${pkgs.ulauncher}/bin/ulauncher --hide-window";
};
};
# Service = {
# Restart = "always";
# RestartSec = 1;
# ExecStart = "${pkgs.ulauncher}/bin/ulauncher --hide-window";
# };
# };
};
};
# moving files!
xdg.configFile."halloy/config.toml".source = ../dotfiles/dot_config/halloy/config.toml;
xdg.configFile."waybar".source = ../dotfiles/dot_config/waybar;
xdg.configFile."just/justfile".source = ../dotfiles/dot_config/just/justfile;
xdg.configFile."starship.toml".source = ../dotfiles/dot_config/starship.toml;
@ -756,28 +789,6 @@
xdg.configFile."emacs".enable = false;
xdg.configFile."zellij/config.kdl".text = ''
theme "molokai-dark"
pane_frames false
default_shell "fish"
copy_on_select false
keybinds {
shared {
bind "Ctrl Alt Left" { GoToPreviousTab; }
bind "Ctrl Alt Right" { GoToNextTab; }
bind "Ctrl Alt Up" { FocusPreviousPane; }
bind "Ctrl Alt Down" { FocusNextPane; }
bind "Ctrl Enter" { NewPane "Down"; }
bind "Ctrl Shift Enter" { NewPane "Right"; }
}
locked {
bind "Ctrl t" { NewTab; }
bind "Ctrl w" { CloseTab; }
}
}
'';
home.file.".msmtprc".source = ../dotfiles/dot_msmtprc;
home.file.".mbsyncrc".source = ../dotfiles/dot_mbsyncrc;
xdg.configFile."isyncrc".enable = false;