This commit is contained in:
Sridhar Ratnakumar 2021-11-20 14:52:37 -05:00
parent 0ab19ef678
commit 8dd72527b1
2 changed files with 26 additions and 1 deletions

View file

@ -11,11 +11,12 @@
./redshift.nix
./gnome-keyring.nix
./guiapps.nix
./polybar.nix
# WMish things
./xmonad
#./taffybar # Disabled, because it rarely works (and memory hungry)
./xmobar # shit UX
# ./xmobar # shit UX
];
environment.systemPackages = with pkgs; [

View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
let
xmobarPkg = pkgs.callPackage ./xmobar-srid { inherit pkgs; };
in
{
systemd.user.services.polybar = {
enable = true;
description = "Polybar";
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${pkgs.polybar}/bin/polybar -c ~/.config/polybar/user example";
Restart = "on-abnormal";
};
};
environment.systemPackages = [ pkgs.polybar ];
fonts = {
fonts = with pkgs; [
siji
];
};
}