feat: add kitty and yazi
This commit is contained in:
parent
3a72a0b20e
commit
da7363f629
8 changed files with 27 additions and 6 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
./yazi.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 ];
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
users/gandalf/modules/gui/programs/kitty.nix
Normal file
12
users/gandalf/modules/gui/programs/kitty.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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 = [ ];
|
||||||
|
|
|
||||||
7
users/gandalf/modules/yazi.nix
Normal file
7
users/gandalf/modules/yazi.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }: {
|
||||||
|
|
||||||
|
programs.yazi = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue