feat: ralph, waybar, formatted

This commit is contained in:
jackjohn7 2026-03-28 18:35:54 -05:00
parent 774daebdff
commit 1eb01464e1
38 changed files with 1913 additions and 609 deletions

View file

@ -0,0 +1,30 @@
{ self, inputs, ... }:
{
flake.nixosModules.waybar =
{
pkgs,
lib,
config,
...
}:
{
config = {
environment.systemPackages = with pkgs; [
waybar
];
# Configure hjem for specified users
hjem = lib.mkIf (config.hyprland-users != [ ]) {
users = lib.genAttrs config.hyprland-users (username: {
enable = true;
files = {
".config/waybar/".source = pkgs.runCommand "waybar" { } ''
mkdir -p $out
cp -r ${./config}/* $out/
'';
};
});
};
};
};
}