modules: move tui, gui, cli to programs
This commit is contained in:
parent
febb421800
commit
47a79eea64
106 changed files with 3 additions and 47 deletions
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (config.modules.other.system) username;
|
|
||||||
cfg = config.modules.system.programs.zellij;
|
|
||||||
inherit (lib) mkIf;
|
|
||||||
in {
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home-manager.users.${username} = {
|
|
||||||
programs.zellij = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
on_force_close = "quit";
|
|
||||||
layout_dir = "${./layouts}";
|
|
||||||
settings = {
|
|
||||||
pane_frames = false;
|
|
||||||
default_layout = "compact";
|
|
||||||
ui = {
|
|
||||||
pane_frames = {
|
|
||||||
hide_session_name = true;
|
|
||||||
rounded.corners = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
plugins = {
|
|
||||||
tab-bar.path = "tab-bar";
|
|
||||||
status-bar.path = "status-bar";
|
|
||||||
strider.path = "strider";
|
|
||||||
compact-bar.path = "compact-bar";
|
|
||||||
};
|
|
||||||
|
|
||||||
keybinds = {
|
|
||||||
unbind = "Ctrl n";
|
|
||||||
# resize = {
|
|
||||||
# bind = "Ctrl n";
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -5,6 +5,7 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.modules.programs.nh;
|
cfg = config.modules.programs.nh;
|
||||||
|
inherit (config.modules.other.system) username;
|
||||||
in {
|
in {
|
||||||
options.modules.programs.nh.enable = mkEnableOption "nh";
|
options.modules.programs.nh.enable = mkEnableOption "nh";
|
||||||
|
|
||||||
|
@ -13,7 +14,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
flake = "/home/vali/projects/nichts";
|
flake = "/home/${username}/projects/nichts";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -5,7 +5,7 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.modules.programs.btop;
|
cfg = config.modules.programs.btop;
|
||||||
username = config.modules.other.system.username;
|
inherit (config.modules.other.system) username;
|
||||||
in {
|
in {
|
||||||
options.modules.programs.btop.enable = mkEnableOption "btop";
|
options.modules.programs.btop.enable = mkEnableOption "btop";
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue