first test
This commit is contained in:
24
home/modules/utils/eza/default.nix
Normal file
24
home/modules/utils/eza/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.eza;
|
||||
in {
|
||||
options = {
|
||||
modules.utils.eza.enable = mkEnableOption "Enables eza";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = true;
|
||||
git = true;
|
||||
enableZshIntegration = false;
|
||||
extraOptions = [
|
||||
"--group-directories-first"
|
||||
"--header"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -43,6 +43,7 @@ in {
|
||||
pavucontrol # GUI sound control
|
||||
qbittorrent
|
||||
usbimager # write bootable usb images!
|
||||
slurp # select region for screenshot
|
||||
# misc.tui
|
||||
ranger
|
||||
xcur2png
|
||||
@@ -52,7 +53,11 @@ in {
|
||||
hyprpicker # Color picker
|
||||
libnotify
|
||||
pamixer # TUI sound control
|
||||
slurp # select region for screenshot
|
||||
ripgrep
|
||||
file
|
||||
fd
|
||||
gnused
|
||||
nix-tree
|
||||
# misc.system
|
||||
adwaita-icon-theme
|
||||
qt5.qtwayland
|
||||
@@ -62,6 +67,10 @@ in {
|
||||
wpa_supplicant
|
||||
xfce.thunar-archive-plugin
|
||||
xfce.thunar-volman
|
||||
unzip
|
||||
zip
|
||||
gnutar
|
||||
p7zip
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.runix;
|
||||
in {
|
||||
imports = [
|
||||
inputs.runix.homeManagerModules.default
|
||||
];
|
||||
options = {
|
||||
modules.utils.runix.enable = mkEnableOption "Enables runix";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.runix = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
38
home/modules/utils/tuirun/default.nix
Normal file
38
home/modules/utils/tuirun/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.tuirun;
|
||||
in {
|
||||
imports = [
|
||||
inputs.tuirun.homeManagerModules.default
|
||||
];
|
||||
options = {
|
||||
modules.utils.tuirun.enable = mkEnableOption "Enables tuirun";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.tuirun = {
|
||||
enable = true;
|
||||
config = {
|
||||
plugins = with inputs.tuirun.packages.${pkgs.system}; [
|
||||
runner
|
||||
];
|
||||
closeOnClick = true;
|
||||
cursor = "Underscore";
|
||||
};
|
||||
extraConfigFiles = {
|
||||
"runner.ron".text = ''
|
||||
Config(
|
||||
desktop_actions: false,
|
||||
terminal: Some("foot"),
|
||||
max_entries: 5,
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user