Add media

This commit is contained in:
muon 2024-06-13 23:15:00 +00:00
parent 0828145d24
commit fb5c2b24e5
8 changed files with 54 additions and 6 deletions

View file

@ -8,6 +8,7 @@ in {
./social.nix
./development.nix
./productivity.nix
./media.nix
];
mods.hyprland.enable = lib.mkIf cfg.wayland.enable true;

View file

@ -19,7 +19,7 @@
};
};
"tztime local".settings = {
format = "🗓 %Y-%m-%d %H:%M:%S ";
format = "🗓 %Y-%m-%d %a %H:%M:%S ";
};
ipv6.enable = false;
"wireless _first_".enable = false;

View file

@ -0,0 +1,12 @@
{ pkgs, lib, config, ... }: {
options.mods.desktop.media.enable =
lib.mkEnableOption "enables entertainment programs";
config = lib.mkIf config.mods.desktop.media.enable {
# home.packages = with pkgs; [
# # Movies/TV
# mpv
# ];
programs.mpv.enable = true;
};
}

View file

@ -3,7 +3,13 @@
lib.mkEnableOption "enables gui productivity tools";
config = lib.mkIf config.mods.desktop.productivity.enable {
# home.packages = with pkgs; [];
home.packages = with pkgs; [
# ISO downloader
qbittorrent
];
home.sessionVariables.BROWSER = "librewolf";
programs.zsh.sessionVariables.BROWSER = "librewolf";
programs.librewolf = {
enable = true;