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

@ -1,7 +1,7 @@
{ pkgs, lib, config, ... }: with config.bchmnn; lib.mkIf (gui.enable && gui.flavour != [ ]) { { pkgs, lib, config, ... }: with config.bchmnn; lib.mkIf (gui.enable && gui.flavour != [ ]) {
programs.nautilus-open-any-terminal = { programs.nautilus-open-any-terminal = {
enable = true; enable = true;
terminal = "alacritty"; terminal = "kitty";
}; };
environment = { environment = {

View file

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

View file

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

View file

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

View file

@ -1,5 +1,6 @@
{ nixosConfig, lib, pkgs, ... }: lib.mkIf nixosConfig.bchmnn.games.enable { { nixosConfig, lib, pkgs, ... }: lib.mkIf nixosConfig.bchmnn.games.enable {
home.packages = with pkgs; [ 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 = { config = {
modifier = "Mod4"; modifier = "Mod4";
terminal = "${pkgs.alacritty}/bin/alacritty"; terminal = "${config.programs.kitty.package}/bin/kitty";
menu = "${pkgs.wofi}/bin/wofi"; menu = "${pkgs.wofi}/bin/wofi";
# TODO for some reason bar only works when used with exec # TODO for some reason bar only works when used with exec
bars = [ ]; bars = [ ];

View file

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