chore: update misc configs

This commit is contained in:
Gabriel Arazas 2022-07-19 07:07:53 +08:00
parent 299aefa195
commit a5c4b9253a
6 changed files with 27 additions and 9 deletions

View File

@ -11,6 +11,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
archivebox # Create by ye' old pirate. archivebox # Create by ye' old pirate.
archiver # Extract and create all of the archives.
borgbackup # I'm pretty sure this is named after some thing from a franchise somewhere but I'm not omnipresent. borgbackup # I'm pretty sure this is named after some thing from a franchise somewhere but I'm not omnipresent.
borgmatic # For those insisting on configurations for BorgBackup. borgmatic # For those insisting on configurations for BorgBackup.
fanficfare # Your fanfics in my hard drive? Pay me rent first. fanficfare # Your fanfics in my hard drive? Pay me rent first.

View File

@ -15,6 +15,14 @@ in {
config = lib.mkIf cfg.enable (lib.mkMerge [ config = lib.mkIf cfg.enable (lib.mkMerge [
({ ({
systemd.coredump = {
enable = true;
extraConfig = ''
ProcessSizeMax=10G
ExternalSizeMax=10G
'';
};
# I want to include documentations for my own sanity, OK? # I want to include documentations for my own sanity, OK?
documentation = { documentation = {
enable = true; enable = true;
@ -23,8 +31,6 @@ in {
man.generateCaches = true; man.generateCaches = true;
}; };
# Configure all of the development-related configuration in the system.
# Install Git, our favorite version control system. # Install Git, our favorite version control system.
# In this case, we want ALL OF THE EXTENSIONS! # In this case, we want ALL OF THE EXTENSIONS!
programs.git = { programs.git = {

View File

@ -32,12 +32,17 @@ in {
xdg.portal.enable = true; xdg.portal.enable = true;
# Install the usual Flatpak remotes. # Install the usual Flatpak remotes.
system.activationScripts.flatpak-remote.text = lib.mkAfter '' systemd.services.install-flatpak-remotes = {
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo after = [ "network.target" ];
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo path = [ pkgs.flatpak ];
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo script = ''
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
''; flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo
'';
serviceConfig.Type = "oneshot";
};
# Enable font-related options for more smoother and consistent experience. # Enable font-related options for more smoother and consistent experience.
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;

View File

@ -12,7 +12,7 @@ in
let let
yt-dlp-args = [ yt-dlp-args = [
# Make a global list of successfully downloaded videos as a cache for yt-dlp. # Make a global list of successfully downloaded videos as a cache for yt-dlp.
"--download-archive ${config.services.yt-dlp.archivePath}/videos" "--download-archive '${config.services.yt-dlp.archivePath}/videos'"
# No overwriting of videos and related files. # No overwriting of videos and related files.
"--no-force-overwrites" "--no-force-overwrites"

View File

@ -69,6 +69,8 @@ in
gnome-frog # Graphical OCR with Tesseract that I always wanted. gnome-frog # Graphical OCR with Tesseract that I always wanted.
gnome-solanum # Cute little matodor timers. gnome-solanum # Cute little matodor timers.
shortwave # Yer' humble internet radio. shortwave # Yer' humble internet radio.
ymuse # Simple MPD client.
gnome-menus # It is required for custom menus in extensions. gnome-menus # It is required for custom menus in extensions.
gnome-extension-manager # The cooler GNOME extensions app. gnome-extension-manager # The cooler GNOME extensions app.
gnome-search-provider-recoll # This is here for some reason. gnome-search-provider-recoll # This is here for some reason.

View File

@ -32,6 +32,9 @@ in {
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
programs.bash.bashrcExtra = ''
source ${pkgs.wezterm}/etc/profile.d/wezterm.sh
'';
# My specific usual stuff. # My specific usual stuff.
programs.git = let email = "foo.dogsquared@gmail.com"; in { programs.git = let email = "foo.dogsquared@gmail.com"; in {
@ -40,6 +43,7 @@ in {
lfs.enable = true; lfs.enable = true;
userName = "Gabriel Arazas"; userName = "Gabriel Arazas";
userEmail = email; userEmail = email;
signing.key = "129AFC6B4ABD6B61";
extraConfig = { extraConfig = {
# This is taken from the official Git book, for future references. # This is taken from the official Git book, for future references.
sendemail = { sendemail = {