small improvements

dev-docs
Moritz Böhme 2023-01-26 10:55:27 +01:00
parent d1466bbba3
commit eb101fbcf2
3 changed files with 13 additions and 8 deletions

View File

@ -76,11 +76,9 @@ with lib; {
git.signing = true;
gpg.enable = true;
hub.enable = true;
kitty.enable = true;
ledger.enable = true;
logseq.enable = true;
python.enable = true;
rofi.enable = true;
ssh = {
enable = true;
includeSecrets = [ ../../secrets/ssh-home.age ];

View File

@ -127,6 +127,8 @@ in
# Fullscreen Applications
# ${mkRules ["opaque" "noblur" "noborder" "noshadow" "forceinput"] ["fullscreen:1"]}
${mkRules ["opaque" "noblur" "noshadow"] ["class:^jetbrains-pycharm$"]}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
$windowMod = ALT

View File

@ -18,6 +18,14 @@ in
};
config = mkIf cfg.enable {
my = {
programs = {
kitty.enable = true;
rofi.enable = true;
};
services.dunst.enable = true;
};
home-manager.users.moritz = {
imports = [ inputs.hyprland.homeManagerModules.default ];
@ -33,11 +41,6 @@ in
layer = "top";
position = "top";
height = 30;
output = [
"eDP-1"
"HDMI-A-1"
"HDMI-A-2"
];
modules-left = [ "wlr/workspaces" ];
modules-center = [ "hyprland/window" ];
modules-right = [ "network" "memory" "cpu" "battery" "clock" ];
@ -110,7 +113,10 @@ in
playerctl
brightnessctl
grimblast
slurp
grim
wl-clipboard
wdisplays
];
security.pam.services.swaylock = { };
@ -134,7 +140,6 @@ in
(if cfg.nvidiaSupport then
{
LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland";
GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
WLR_NO_HARDWARE_CURSORS = "1";