add: zellij

This commit is contained in:
ooks-io 2023-12-06 15:37:39 +13:00
parent 50c0fb04d0
commit b44b774bfa
4 changed files with 57 additions and 19 deletions

30
flake.lock generated
View file

@ -25,11 +25,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1701489788,
"narHash": "sha256-m4PW5aVZCyKCYe9tCHnA9EecKyVb8F5MZFUnA6W0J4g=",
"lastModified": 1701748971,
"narHash": "sha256-rUMtghzNmFLu8M5sWmfmnkSqnrlJal1gB+nJLz7v0h0=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "b12412b252cceffcbfa43b8d975430f553cc8e42",
"rev": "94b0be5382c029be47fda7ba179c36491b5c49e6",
"type": "gitlab"
},
"original": {
@ -56,11 +56,11 @@
},
"hardware": {
"locked": {
"lastModified": 1701250978,
"narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=",
"lastModified": 1701656485,
"narHash": "sha256-xDFormrGCKKGqngHa2Bz1GTeKlFMMjLnHhTDRdMJ1hs=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "8772491ed75f150f02552c60694e1beff9f46013",
"rev": "fa194fc484fd7270ab324bb985593f71102e84d1",
"type": "github"
},
"original": {
@ -76,11 +76,11 @@
]
},
"locked": {
"lastModified": 1701433070,
"narHash": "sha256-Gf9JStfENaUQ7YWFz3V7x/srIwr4nlnVteqaAxtwpgM=",
"lastModified": 1701728041,
"narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "4a8545f5e737a6338814a4676dc8e18c7f43fc57",
"rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf",
"type": "github"
},
"original": {
@ -100,11 +100,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1701451430,
"narHash": "sha256-uVrtDJUb5+WylStcz2M8Awx1MFNFzpGZwklaPtXv20Y=",
"lastModified": 1701819597,
"narHash": "sha256-X0K2v/SOMQj18/O9daDlizlnlGRDMWuuGoU3jm06b7k=",
"owner": "hyprwm",
"repo": "hyprland",
"rev": "6e8b9ef7d8aa53247d5122b6641b9afa0df798df",
"rev": "8bd86cf37e245088433156796f1bc72542ca09ad",
"type": "github"
},
"original": {
@ -179,11 +179,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1701253981,
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=",
"lastModified": 1701436327,
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58",
"rev": "91050ea1e57e50388fa87a3302ba12d188ef723a",
"type": "github"
},
"original": {

View file

@ -6,6 +6,7 @@
./fish.nix
./starship.nix
./nix-index.nix
./zellij.nix
];
home.packages = with pkgs; [
bc # Calculator
@ -33,7 +34,6 @@
lazygit # git uitlity
comma # Install and run with ","
tldr # Community maintained help pages
tmux # Terminal multiplexer
progress
killall
gcc
@ -52,17 +52,17 @@
};
direnv = {
enable = true;
nix-direnv = true;
enableFishIntegration = true;
nix-direnv.enable = true;
};
fzf = {
enable = true;
enableFishIntegration = true;
defaultCommand = "rg --files --hidden";
changeDirWidgetOptions = [
"--preview 'eza --icons {} | head -200'"
"--preview 'eza --icons -L 3 -T --color always {} | head -200'"
"--exact"
];
fileWidgetCommand = "rg --files";
fileWidgetOptions = [
"--preview 'bat --color=always {}'"
];

View file

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
programs.tmux = {
enable = true;
extraConfig = "set -g status-position top";
};
}

View file

@ -0,0 +1,31 @@
{ config, ... }:
let
inherit (config) colorscheme;
inherit (colorscheme) colors;
in
{
programs.zellij = {
enable = true;
enableFishIntegration = true;
settings = {
session-serialization = 1;
theme = "${colorscheme.slug}";
themes = {
"${colorscheme.slug}" = {
fg = "#${colors.base05}";
bg = "#${colors.base00}";
black = "#${colors.base00}";
red = "#${colors.base08}";
green = "#${colors.base0B}";
yellow = "#${colors.base0A}";
blue = "#${colors.base0D}";
magenta = "#${colors.base0E}";
cyan = "#${colors.base0C}";
white = "#${colors.base05}";
orange = "#${colors.base09}";
};
};
};
};
}