do things

This commit is contained in:
zack 2025-01-09 13:33:20 -05:00
parent 0dc849ff14
commit 5c08802127
No known key found for this signature in database
GPG key ID: EE8A2B709E2401D1
14 changed files with 503 additions and 457 deletions

View file

@ -17,6 +17,8 @@ in {
config = mkIf cfg.enable {
programs.waybar = {
enable = true;
systemd.enable = true;
systemd.target = "graphical-session.target";
style = ''
* {
min-height: 0;

View file

@ -13,7 +13,7 @@ in {
enable = mkBoolOpt false "Enable Git Integration";
signByDefault = mkBoolOpt true "Sign by default";
signingKey = mkStringOpt "5F873416BCF59F35" "The KeyID of your GPG signingKey";
signingKey = mkStringOpt "EE8A2B709E2401D1" "The KeyID of your GPG signingKey";
};
config = mkIf cfg.enable {

View file

@ -8,4 +8,4 @@ if vim.g.neovide then
end
-- in this case.
-- vim.g.lazyvim_blink_main = true
vim.g.lazyvim_blink_main = true

View file

@ -26,7 +26,7 @@ return {
},
{
"catppuccin",
opts = { transparent_background = true, integrations = {
opts = { integrations = {
blink_cmp = true,
} },
},
@ -46,12 +46,6 @@ return {
},
},
},
{
"saghen/blink.cmp",
opts = {
nerd_font_variant = "mono",
},
},
{
"folke/snacks.nvim",
priority = 1000,

View file

@ -38,7 +38,7 @@ in {
catppuccin.enable = false;
enable = true;
defaultEditor = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
# package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
extraLuaPackages = ps: [ps.magick];
extraPackages = with pkgs; [
# Formatters

View file

@ -12,9 +12,9 @@ with lib.custom; let
cfg = config.wms.hyprland;
mkService = recursiveUpdate {
Unit.PartOf = ["hyprland-session.target"];
Unit.After = ["hyprland-session.target"];
Install.WantedBy = ["hyprland-session.target"];
Unit.PartOf = ["graphical-session.target"];
Unit.After = ["graphical-session.target"];
Install.WantedBy = ["graphical-session.target"];
};
mod = "SUPER";
@ -46,12 +46,10 @@ in {
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
systemd = {
enable = true;
# enableXdgAutostart = true;
variables = ["-all"];
enable = false;
enableXdgAutostart = true;
};
};
@ -61,7 +59,6 @@ in {
# "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
# "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"zen"
"telegram-desktop"
"thunderbird"
"vesktop"
"spotify"
@ -76,7 +73,7 @@ in {
bind =
[
''${mod},RETURN,exec,${pkgs.ghostty}/bin/ghostty''
''${mod},RETURN,exec,${lib.getExe pkgs.kitty}''
"${mod},D,exec,rofi -show drun"
"${mod},Q,killactive"
@ -216,7 +213,6 @@ in {
"workspace special silent, title:^(Firefox Sharing Indicator)$"
"workspace special silent, title:^(.*is sharing (your screen|a window)\.)$"
"opacity 0.9 override,class:^(zen)"
"workspace 5, class:^(thunderbird)$"
"workspace 4, title:^(.*(Disc|WebC)ord.*)$"
"workspace 4, class:^(.*Slack.*)$"
@ -232,12 +228,12 @@ in {
# # fake a tray to let apps start
# # https://github.com/nix-community/home-manager/issues/2064
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = ["graphical-session-pre.target"];
};
};
# systemd.user.targets.tray = {
# Unit = {
# Description = "Home Manager System Tray";
# Requires = ["graphical-session-pre.target"];
# };
# };
systemd.user.services = {
swaybg = mkService {

View file

@ -26,8 +26,8 @@ in {
extraConfig.pipewire.adjust-sample-rate = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.allowed-rates" = [48000];
"default.clock.rate" = 44100;
"default.allowed-rates" = [44100];
};
};

View file

@ -51,14 +51,14 @@ in {
GBM_BACKEND = "nvidia-drm";
WLR_NO_HARDWARE_CURSORS = "1";
LIBVA_DRIVER_NAME = "nvidia";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
__NV_PRIME_RENDER_OFFLOAD = "1";
__VK_LAYER_NV_optimus = "NVIDIA_only";
# __GLX_VENDOR_LIBRARY_NAME = "nvidia";
# __NV_PRIME_RENDER_OFFLOAD = "1";
# __VK_LAYER_NV_optimus = "NVIDIA_only";
NVD_BACKEND = "direct";
# __GL_GSYNC_ALLOWED = "1";
# __GL_VRR_ALLOWED = "1";
XWAYLAND_NO_GLAMOR = "1";
__GL_MaxFramesAllowed = "1";
# XWAYLAND_NO_GLAMOR = "1";
# __GL_MaxFramesAllowed = "1";
};
environment.systemPackages = with pkgs; [

View file

@ -21,7 +21,7 @@ in {
services = {
greetd = {
enable = true;
enable = false;
settings = rec {
initial_session = {
# command = "sway --unsupported-gpu";
@ -33,7 +33,12 @@ in {
};
};
services.xserver.displayManager.gdm.enable = true;
programs.uwsm.enable = true;
programs.hyprland = {
withUWSM = true;
enable = true;
};
@ -69,15 +74,14 @@ in {
hardware.pulseaudio.support32Bit = true;
# xdg.portal = {
# enable = true;
# wlr.enable = false;
# config.common.default = "*";
# extraPortals = [
# pkgs.xdg-desktop-portal-gtk
# # pkgs.xdg-desktop-portal-wlr
# pkgs.xwaylandvideobridge
# ];
# };
xdg.portal = {
enable = true;
wlr.enable = false;
config.common.default = "*";
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xwaylandvideobridge
];
};
};
}