feat: add stylix as custom module

This commit is contained in:
Swarsel 2024-07-24 19:43:16 +02:00
parent ec82754ae1
commit 821d5cb78e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 157 additions and 67 deletions

View file

@ -46,7 +46,9 @@
};
};
targets.emacs.enable = false;
targets.waybar.enable = false;
targets = {
emacs.enable = false;
waybar.enable = false;
};
};
}

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
programs.waybar = {
@ -137,6 +137,7 @@
tooltip-format = "Memory: {used:0.1f}G/{total:0.1f}G\nSwap: {swapUsed}G/{swapTotal}G";
};
cpu = {
format = config.swarselsystems.cpuString;
min-length = 6;
interval = 5;
format-icons = [ "" "" "" "" "" "" "" "" ];

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, home-manager, ... }:
{
stylix = {
@ -48,4 +48,10 @@
targets.grub.enable = false; # the styling makes grub more ugly
};
home-manager.users.swarsel = {
stylix.targets = {
emacs.enable = false;
waybar.enable = false;
};
};
}