86 lines
2.0 KiB
Nix
86 lines
2.0 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
theme = import ../../../../../../modules/home/desktop/theme/nord.nix;
|
|
fontName = "JetBrainsMono NFM";
|
|
fontPackage = pkgs.nerd-fonts.jetbrains-mono;
|
|
in
|
|
{
|
|
mjallen = {
|
|
desktop.hyprland = {
|
|
enable = true;
|
|
defaultApps = {
|
|
browser = pkgs.firefox;
|
|
};
|
|
};
|
|
programs = {
|
|
btop.enable = true;
|
|
kitty = {
|
|
enable = true;
|
|
font = {
|
|
name = fontName;
|
|
package = fontPackage;
|
|
};
|
|
};
|
|
mako = {
|
|
enable = true;
|
|
fontName = fontName;
|
|
};
|
|
nwg-dock.enable = true;
|
|
nwg-drawer.enable = true;
|
|
nwg-panel = {
|
|
enable = true;
|
|
defaultApps = {
|
|
browser = pkgs.firefox;
|
|
};
|
|
};
|
|
waybar = {
|
|
enable = true;
|
|
|
|
networkInterface = "wlp9s0";
|
|
layer = "bottom";
|
|
|
|
modules-right = [
|
|
"tray"
|
|
"custom/lights"
|
|
"temperature"
|
|
"temperature#gpu"
|
|
"keyboard-state#capslock"
|
|
"keyboard-state#numlock"
|
|
"wireplumber#sink"
|
|
"wireplumber#source"
|
|
"bluetooth"
|
|
"network"
|
|
"idle_inhibitor"
|
|
"clock"
|
|
"custom/weather"
|
|
];
|
|
|
|
extraModules = {
|
|
"custom/lights" = {
|
|
tooltip = false;
|
|
exec = "waybar-hass --get_light light.living_room_lights";
|
|
interval = "once";
|
|
format = "{text}";#"";
|
|
on-click = "waybar-hass --toggle_light light.living_room_lights";
|
|
return-type = "json";
|
|
};
|
|
};
|
|
|
|
extraModulesStyle = ''
|
|
#custom-lights {
|
|
color: ${theme.frost.nord8};
|
|
background-color: ${theme.polarNight.nord0};
|
|
${theme.defaultOpacity}
|
|
${theme.borderLeft}
|
|
}
|
|
|
|
#custom-lights:hover {
|
|
background: ${theme.polarNight.nord3};
|
|
}
|
|
'';
|
|
};
|
|
wlogout.enable = true;
|
|
wofi.enable = true;
|
|
};
|
|
};
|
|
} |