Modified polybar
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
{
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./spotify.nix
|
||||
];
|
||||
}
|
||||
|
||||
17
home/modules/app/spotify.nix
Normal file
17
home/modules/app/spotify.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.samfelag.modules.app.spotify;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.app.spotify = {
|
||||
enable = mkEnableOption "spotify";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
spotify
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user