schizophrenia

This commit is contained in:
Charlie Root 2024-11-04 01:20:09 +01:00
commit eead8facb0
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
10 changed files with 7 additions and 460 deletions

View file

@ -1,7 +1,6 @@
_: {
imports = [
./nh.nix
./beets.nix
./zellij
# ./beets.nix
];
}

View file

@ -1,12 +1,11 @@
{
config,
lib,
self,
...
}:
with lib; let
}: let
cfg = config.modules.programs.nh;
inherit (config.modules.other.system) username;
inherit (lib) mkEnableOption mkIf;
in {
options.modules.programs.nh.enable = mkEnableOption "nh";

View file

@ -1,46 +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;
settings = {
on_force_close = "quit";
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";
# };
};
};
};
};
};
}