Added nh, added some options such as username and hardware config

This commit is contained in:
Aleksandr Lebedev 2024-11-30 18:44:18 +01:00
parent b4f3add8ea
commit ca216ad1dc
6 changed files with 46 additions and 25 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, hostname, ... }:
{ pkgs, lib, hwconfig, ... }:
{
programs.waybar = {
@ -34,7 +34,7 @@
#"memory"
#"temperature"
"hyprland/language"
] ++ (if hostname != "nixosbtw" then [ "battery" ] else [ ])
] ++ (if hwconfig.isLaptop then [ "battery" ] else [ ])
++ [
"tray"
"custom/notification"