mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +00:00
Update custom modules
This commit is contained in:
parent
9297de9c97
commit
550f890b4f
@ -8,6 +8,7 @@ in {
|
|||||||
graphics.enable =
|
graphics.enable =
|
||||||
lib.mkEnableOption "installations of graphics-related apps";
|
lib.mkEnableOption "installations of graphics-related apps";
|
||||||
audio.enable = lib.mkEnableOption "installations of audio-related apps";
|
audio.enable = lib.mkEnableOption "installations of audio-related apps";
|
||||||
|
multimedia.enable = lib.mkEnableOption "installations for opening multimedia files";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||||
@ -41,5 +42,15 @@ in {
|
|||||||
soundService = "pipewire-pulse";
|
soundService = "pipewire-pulse";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(lib.mkIf cfg.multimedia.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
mpv # The modern VLC.
|
||||||
|
brave # The only web browser that gives me money.
|
||||||
|
foliate # The prettier PDF viewer.
|
||||||
|
sioyek # The researcher's PDF viewer.
|
||||||
|
thunderbird # Email checks.
|
||||||
|
];
|
||||||
|
})
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ in {
|
|||||||
gopass # An improved version of the password manager for hipsters.
|
gopass # An improved version of the password manager for hipsters.
|
||||||
perl534Packages.vidir # Bulk rename for your organizing needs.
|
perl534Packages.vidir # Bulk rename for your organizing needs.
|
||||||
zellij # A modern tmux?
|
zellij # A modern tmux?
|
||||||
|
tealdeer # An easy cop-out for basic help.
|
||||||
lf # File manager in the terminal, really.
|
lf # File manager in the terminal, really.
|
||||||
|
|
||||||
# Coreutils replacement.
|
# Coreutils replacement.
|
||||||
|
@ -13,6 +13,7 @@ in {
|
|||||||
internetarchive # All of the potential vintage collection of questionable materials at your fingertips.
|
internetarchive # All of the potential vintage collection of questionable materials at your fingertips.
|
||||||
newsboat # Reading news easily on the command line?
|
newsboat # Reading news easily on the command line?
|
||||||
qbittorrent # The pirate's toolkit for downloading Linux ISOs.
|
qbittorrent # The pirate's toolkit for downloading Linux ISOs.
|
||||||
|
yt-dlp # The general purpose video downloader.
|
||||||
zotero # It's actually good at archiving despite not being a researcher myself.
|
zotero # It's actually good at archiving despite not being a researcher myself.
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -125,6 +125,7 @@ in {
|
|||||||
timers.clean-log = {
|
timers.clean-log = {
|
||||||
description = "Weekly log cleanup";
|
description = "Weekly log cleanup";
|
||||||
documentation = [ "man:journalctl(1)" ];
|
documentation = [ "man:journalctl(1)" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "weekly";
|
OnCalendar = "weekly";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
|
@ -33,7 +33,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.borgbackup.jobs.external-storage = {
|
services.borgbackup.jobs.external-storage = {
|
||||||
dateFormat = "%F-%H-%M-%S-%z";
|
dateFormat = "+%F-%H-%M-%S-%z";
|
||||||
doInit = false;
|
doInit = false;
|
||||||
removableDevice = true;
|
removableDevice = true;
|
||||||
paths = [
|
paths = [
|
||||||
|
@ -63,10 +63,19 @@ in
|
|||||||
# It is required for custom menus in extensions.
|
# It is required for custom menus in extensions.
|
||||||
gnome-menus
|
gnome-menus
|
||||||
|
|
||||||
|
# Good ol' unofficial preferences tool.
|
||||||
|
gnome.gnome-tweaks
|
||||||
|
|
||||||
# My preferred extensions.
|
# My preferred extensions.
|
||||||
gnomeExtensions.arcmenu
|
gnomeExtensions.arcmenu
|
||||||
gnomeExtensions.gsconnect
|
gnomeExtensions.gsconnect
|
||||||
gnomeExtensions.x11-gestures
|
gnomeExtensions.x11-gestures
|
||||||
|
gnomeExtensions.kimpanel
|
||||||
|
gnomeExtensions.runcat
|
||||||
|
gnomeExtensions.just-perfection
|
||||||
|
|
||||||
|
# TODO: Use from nixpkgs once fly-pie is fixed.
|
||||||
|
gnome-shell-extension-fly-pie
|
||||||
|
|
||||||
# Setting up Pop shell.
|
# Setting up Pop shell.
|
||||||
gnome-shell-extension-pop-shell
|
gnome-shell-extension-pop-shell
|
||||||
|
Loading…
Reference in New Issue
Block a user