mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
35 lines
757 B
Nix
35 lines
757 B
Nix
{ config, ... }:
|
|
{
|
|
services.hypridle.enable = true;
|
|
programs.hyprpanel = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { name = "hyprpanel"; };
|
|
settings = {
|
|
bar.battery.label = true;
|
|
bar.bluetooth.label = false;
|
|
bar.clock.format = "%H:%M:%S";
|
|
bar.layouts = {
|
|
"*" = {
|
|
left = [
|
|
"dashboard"
|
|
"workspaces"
|
|
"media"
|
|
];
|
|
middle = [ "windowtitle" ];
|
|
right = [
|
|
"volume"
|
|
"network"
|
|
"bluetooth"
|
|
"notifications"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
"home-files/.config/hyprpanel/config.json" \
|
|
${./with-hypridle.json}
|
|
'';
|
|
}
|