This commit is contained in:
2024-12-20 23:01:15 -05:00
parent abc55c6d4e
commit 1c89a70e0d
10 changed files with 655 additions and 111 deletions

View File

@@ -1,9 +1,86 @@
{
pkgs,
config,
...
pkgs,
inputs,
...
}: {
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
settings = {
monitor = [
"DP-1,1920x1080,0x0,1"
"HDMI-A-1,1920x1080,1920x0,1"
];
"$mainMod" = "SUPER";
"$terminal" = "kitty";
"$menu" = "wofi --show drun";
bind = [
"$mainMod, Q, exec, $terminal"
"$mainMod, C, killactive,"
"$mainMod, M, exit,"
"$mainMod, V, togglefloating,"
"$mainMod, R, exec, $menu"
"$mainMod, P, pseudo, # dwindle"
"$mainMod, J, togglesplit, # dwindle"
# Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u"
"$mainMod, down, movefocus, d"
# Switch workspaces with mainMod + [0-9]
"$mainMod, 1, workspace, 1"
"$mainMod, 2, workspace, 2"
"$mainMod, 3, workspace, 3"
"$mainMod, 4, workspace, 4"
"$mainMod, 5, workspace, 5"
"$mainMod, 6, workspace, 6"
"$mainMod, 7, workspace, 7"
"$mainMod, 8, workspace, 8"
"$mainMod, 9, workspace, 9"
"$mainMod, 0, workspace, 10"
# Move active window to a workspace with mainMod + SHIFT + [0-9]
"$mainMod SHIFT, 1, movetoworkspace, 1"
"$mainMod SHIFT, 2, movetoworkspace, 2"
"$mainMod SHIFT, 3, movetoworkspace, 3"
"$mainMod SHIFT, 4, movetoworkspace, 4"
"$mainMod SHIFT, 5, movetoworkspace, 5"
"$mainMod SHIFT, 6, movetoworkspace, 6"
"$mainMod SHIFT, 7, movetoworkspace, 7"
"$mainMod SHIFT, 8, movetoworkspace, 8"
"$mainMod SHIFT, 9, movetoworkspace, 9"
"$mainMod SHIFT, 0, movetoworkspace, 10"
];
};
};
programs = {
waybar = {
enable = true;
systemd.enable = true;
};
wofi = {
enable = true;
};
};
services = {
dunst = {
enable = true;
};
hyprpaper = {
enable = true;
settings = {
ipc = "on";
splash = true;
preload =[ "~/wallpapers/dark-cat.png" ];
wallpaper = [
"~/wallpapers/dark-cat.png"
];
};
};
};
}

View File

@@ -0,0 +1,10 @@
{
pkgs,
...
}: {
services = {
network-manager-applet = {
enable = true;
};
};
}

View File

@@ -370,33 +370,33 @@ lib,
picker = "minipick";
};
};
obsidian = {
enable = true;
settings = {
completion = {
min_chars = 1;
nvim_cmp = true;
};
notes_subir = "notes";
new_notes_location = "notes_subdir";
templates = {
folder = "templates";
};
workspaces = [
{
name = "personal";
path = "~/vaults/personal";
}
];
picker = {
name = "mini.pick";
};
daily_notes = {
folder = "dailies";
default_tags = [ "type/daily" ];
};
};
};
# obsidian = {
# enable = true;
# settings = {
# completion = {
# min_chars = 1;
# nvim_cmp = true;
# };
# notes_subir = "notes";
# new_notes_location = "notes_subdir";
# templates = {
# folder = "templates";
# };
# workspaces = [
# {
# name = "personal";
# path = "~/vaults/personal";
# }
# ];
# picker = {
# name = "mini.pick";
# };
# daily_notes = {
# folder = "dailies";
# default_tags = [ "type/daily" ];
# };
# };
# };
# render-markdown = {
# enable = true;
# };

View File

@@ -0,0 +1,10 @@
{
pkgs,
...
}: {
services = {
pasystray = {
enable = true;
};
};
}

View File

@@ -1,5 +1,9 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
programs.hyprland.enable = true;
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
}

View File

@@ -5,5 +5,6 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}