Skip to content

Commit

Permalink
discord -> vesktop, ++zoxide, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed May 21, 2024
1 parent 222348d commit e602a35
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 37 deletions.
64 changes: 32 additions & 32 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
./devenv.nix # development environment
./nnn.nix # nnn - terminal file manager
./eza.nix # eza - modern replacement for ls
./zoxide.nix # zoxide - smarter cd
./thunar.nix

./nix-helpers.nix
Expand Down
6 changes: 4 additions & 2 deletions home-manager/xdg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ in {
"x-scheme-handler/https" = "google-chrome-beta.desktop";
"x-scheme-handler/about" = "google-chrome-beta.desktop";
"x-scheme-handler/unknown" = "google-chrome-beta.desktop";
"image/png" = "org.gnome.Loupe.desktop;";
"image/jpeg" = "org.gnome.Loupe.desktop;";
};
xdg.mimeApps.associations.added = {
# Text files
Expand All @@ -56,8 +58,8 @@ in {
"x-xdg-protocol-tg" = "org.telegram.desktop.desktop;";

# Images
"image/png" = "org.gnome.Loupe.desktop ;";
"image/jpeg" = "org.gnome.Loupe.desktop ;";
"image/png" = "org.gnome.Loupe.desktop;";
"image/jpeg" = "org.gnome.Loupe.desktop;";

# PDF
"application/pdf" = "org.gnome.Evince.desktop;google-chrome-beta.desktop;";
Expand Down
8 changes: 8 additions & 0 deletions home-manager/zoxide.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{...}:
# A smarter cd command which learns your habits as you go
{
programs.zoxide.enable = true;
programs.zoxide.options = [
"--cmd cd" # Make cd an alias of zoxide
];
}
2 changes: 1 addition & 1 deletion pkgs/user-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

# whatsapp-for-linux
libreoffice-fresh
(discord.override {withVencord = true;})
vesktop
deluge # Torrent client
shotwell # GNOME image editor
jetbrains-toolbox
Expand Down
3 changes: 1 addition & 2 deletions system/boot/boot-options.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This conf file is used to configure boot
{
pkgs,
pkgs-edge,
...
}: {
# Enable systemd-boot
Expand Down Expand Up @@ -32,7 +31,7 @@
theme = "matrix";
themePackages = [
(pkgs.adi1090x-plymouth-themes.override {selected_themes = ["rings_2"];})
pkgs-edge.plymouth-matrix-theme
pkgs.plymouth-matrix-theme
];
};
}

0 comments on commit e602a35

Please sign in to comment.