feat: add kitty and yazi

This commit is contained in:
Jacob Bachmann 2024-08-28 12:27:54 +02:00
parent 3a72a0b20e
commit da7363f629
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
8 changed files with 27 additions and 6 deletions

View file

@ -15,6 +15,7 @@
./ssh.nix
./tmux.nix
./xdg.nix
./yazi.nix
./zsh.nix
];
}

View file

@ -21,7 +21,6 @@ in
];
home.packages = with pkgs; [
alacritty
dmenu
xclip # tool to access the x clipboard from a console application
wireplumber
@ -44,7 +43,7 @@ in
config = {
modifier = "Mod4";
bars = [ ];
terminal = "${pkgs.alacritty}/bin/alacritty";
terminal = "${config.programs.kitty.package}/bin/kitty";
menu = "${config.programs.rofi.package}/bin/rofi -show drun";
startup = with pkgs; [
{ command = "${start-polybar}"; }
@ -57,7 +56,7 @@ in
{ command = "${nextcloud-client}/bin/nextcloud"; }
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
{ command = "${system-config-printer}/bin/system-config-printer-applet"; }
{ command = "${alacritty}/bin/alacritty --class dropdown --title dropdown"; always = true; }
{ command = "${config.programs.kitty.package}/bin/kitty --class dropdown --title dropdown"; always = true; }
];
fonts = {
names = [ common.font ];

View file

@ -6,6 +6,7 @@
./discord.nix
./games.nix
./keyring.nix
./kitty.nix
./obs.nix
./vscode.nix
./zathura.nix

View file

@ -1,5 +1,6 @@
{ nixosConfig, lib, pkgs, ... }: lib.mkIf nixosConfig.bchmnn.games.enable {
home.packages = with pkgs; [
extremetuxracer
celestia # real-time 3d simulation of space
extremetuxracer # high speed arctic racing game based on tux racer
];
}

View file

@ -0,0 +1,12 @@
{ pkgs, lib, ... }:
let
common = (import ../common.nix) { pkgs = pkgs; lib = lib; };
in
{
programs.kitty = {
enable = true;
font.name = common.font;
font.size = 12;
theme = "Tango Light";
};
}

View file

@ -81,7 +81,7 @@ in
'';
config = {
modifier = "Mod4";
terminal = "${pkgs.alacritty}/bin/alacritty";
terminal = "${config.programs.kitty.package}/bin/kitty";
menu = "${pkgs.wofi}/bin/wofi";
# TODO for some reason bar only works when used with exec
bars = [ ];

View file

@ -0,0 +1,7 @@
{ ... }: {
programs.yazi = {
enable = true;
};
}