Skip to content

Commit

Permalink
📦 Added the syncterm package
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Dec 30, 2024
1 parent dcd6f06 commit 9f4205a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ Here are a non-exhaustive list of tasks.
- [x] Customize Spotify with [Spicetify](https://github.com/Gerg-L/spicetify-nix)
- [x] Add declarative Flatpak supports with [declarative-flatpak](https://github.com/GermanBread/declarative-flatpak)
- [ ] Better email accounts management
- [ ] Solve TODO in the file `modules/home/roles/desktop/default.nix`

20 changes: 20 additions & 0 deletions modules/home/cli/terminals/syncterm/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
lib,
config,
namespace,
pkgs,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt;

cfg = config.${namespace}.cli.terminals.syncterm;
in
{
options.${namespace}.cli.terminals.syncterm = {
enable = mkBoolOpt false "Whether or not to enable SyncTERM.";
};

config = mkIf cfg.enable { home.packages = with pkgs; [ syncterm ]; };
}
2 changes: 2 additions & 0 deletions modules/home/roles/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ in
};
};

# TODO: Make modules for this packages
home.packages = with pkgs; [
pavucontrol
mplayer
Expand All @@ -50,6 +51,7 @@ in
services.flatpak = enabled;

cli.programs.fast-anime = enabled;
cli.terminals.syncterm = enabled;
multimedia.mpv = enabled;

multimedia.calibre = enabled;
Expand Down

0 comments on commit 9f4205a

Please sign in to comment.