added zoxide and eza

This commit is contained in:
Aleksandr Lebedev 2024-12-20 22:50:50 +01:00
parent 8da38ec270
commit b860dab819
11 changed files with 41 additions and 4 deletions

View file

@ -127,11 +127,15 @@
loginBackground = false;
})
nix-output-monitor
eza
zoxide
fd
(pkgs.writeShellScriptBin "root-files" ''
sudo ${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}"
'') #https://www.reddit.com/r/NixOS/comments/1d1apm0/comment/l5tgbwz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
(pkgs.writeShellScriptBin "root-files" ''
sudo ${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}"
'')
gparted
exfatprogs
kitty
@ -311,6 +315,12 @@
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
};
programs.bash = {
shellAliases = {
ls = "${pkgs.eza}/bin/eza --icons=always";
};
};
#services.flatpak.enable = true;
#services.flatpak.packages = [
# "flathub:app/org.kde.dolphin//stable"

View file

@ -7,8 +7,8 @@
[
./modules/nixvim
./modules/fastfetch
] ++ (if hwconfig.useImpermanence then [ (import ./modules/impermanence/home.nix { inherit username; inherit inputs; } ) ] else [])
++ (if config.programs.hyprland.enable then [./modules/hyprland/home.nix] else [])
] ++ lib.optional (hwconfig.useImpermanence) (import ./modules/impermanence/home.nix { inherit username; inherit inputs; } )
++ lib.optional (config.programs.hyprland.enable) ./modules/hyprland/home.nix
++ lib.optional (builtins.pathExists ./homes/${username}) ./homes/${username};
# Home Manager needs a bit of information about you and the paths it should
# manage.
@ -41,6 +41,17 @@
enableBashIntegration = true;
};
programs.eza = {
enable = true;
icons = "always";
};
programs.zoxide = {
enable = true;
options = [ "--cmd cd" ];
enableBashIntegration = true;
};
#xdg.configFile."qt5ct/qt5ct.conf".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
# Appearance.icon_theme = "Breeze Dark";
# };

View file

@ -3,7 +3,7 @@
imports = [
inputs.apple-silicon-support.nixosModules.default
./mac-hardware-conf.nix
../../hardware/macos/configuration.nix
../../hardware/apple-silicon-linux
../../modules/hyprland

View file

@ -1,6 +1,8 @@
{ pkgs, inputs, hwconfig, ... }:
{
environment.systemPackages = with pkgs; [
kando
kdePackages.qtwayland
#libsForQt5.qt5.qtwayland
#libsForQt5.qt5.qtsvg

View file

@ -39,6 +39,7 @@ in
"${pkgs.clipse}/bin/clipse -listen &"
"${pkgs.swww}/bin/swww-daemon &"
"${pkgs.swww}/bin/swww img ${wallpaper-image} &"
#"${pkgs.kando}/bin/kando"
];
exec = [
@ -64,6 +65,7 @@ in
"$mod, F, fullscreen,"
"$mod, R, exec, $menu"
"$mod, V, exec, $clipboardManager"
#"CTRL, SPACE, global, kando:example-menu"
"$mod SHIFT, I, exec, source ${toggle_monitors}"
"$mod SHIFT, O, exec, hyprctl dispatch dpms on"
# Move focus with mainMod + arrow keys
@ -159,6 +161,17 @@ in
};
windowrule = [
#kando
"noblur, kando"
"opaque, kando"
"size 100% 100%, kando"
"noborder, kando"
"noanim, kando"
"float, kando"
"pin, kando"
];
windowrulev2 = [
# Ignore maximize requests from apps. You'll probably like this.
"suppressevent maximize, class:.*"
@ -173,6 +186,7 @@ in
#for clipboard manager
"float,class:(clipse)"
"size 622 652,class:(clipse)" # set the size of the window as necessary
];
decoration = {