Added nixos configs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
moduleName = "hm-waybar";
|
||||
in
|
||||
{
|
||||
# Installs + enables Waybar
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
|
||||
# Explicit install (optional, but you asked for it)
|
||||
package = pkgs.waybar;
|
||||
};
|
||||
|
||||
# Your config file is named waybar.conf in your repo,
|
||||
# but Waybar expects it as ~/.config/waybar/config
|
||||
xdg.configFile."waybar/config".source = .conf/waybar/waybar.conf;
|
||||
|
||||
# CSS styling
|
||||
xdg.configFile."waybar/style.css".source = ./waybar/style.css;
|
||||
home.file.".nixlog/loaded.${moduleName}-module-loaded".text = "loaded\n";
|
||||
}
|
||||
Reference in New Issue
Block a user