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

View file

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