first test

This commit is contained in:
cnst
2024-09-21 23:22:22 +02:00
parent c647cea072
commit e212239e8c
36 changed files with 624 additions and 240 deletions

View 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"
];
};
};
}

View File

@@ -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
];
};
}

View File

@@ -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;
};
};
}

View 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,
)
'';
};
};
};
}