small improvements

nixos
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; git.signing = true;
gpg.enable = true; gpg.enable = true;
hub.enable = true; hub.enable = true;
kitty.enable = true;
ledger.enable = true; ledger.enable = true;
logseq.enable = true; logseq.enable = true;
python.enable = true; python.enable = true;
rofi.enable = true;
ssh = { ssh = {
enable = true; enable = true;
includeSecrets = [ ../../secrets/ssh-home.age ]; includeSecrets = [ ../../secrets/ssh-home.age ];

View File

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

View File

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