mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-03-31 04:31:55 -04:00
refactor terminal.nix into cli and gui
This commit is contained in:
parent
81503ad83f
commit
792458043d
7 changed files with 51 additions and 19 deletions
|
@ -1,18 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
warp-terminal
|
||||
kitty
|
||||
onefetch
|
||||
hyfetch
|
||||
neofetch
|
||||
];
|
||||
file = {
|
||||
kitty = {
|
||||
recursive = true;
|
||||
source = ../../../dotfiles/kitty;
|
||||
target = "./.config/kitty";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
10
common/users/homeModules/terminal/cli.nix
Normal file
10
common/users/homeModules/terminal/cli.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
onefetch
|
||||
hyfetch
|
||||
neofetch
|
||||
];
|
||||
};
|
||||
}
|
7
common/users/homeModules/terminal/default.nix
Normal file
7
common/users/homeModules/terminal/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./gui.nix
|
||||
./cli.nix
|
||||
];
|
||||
}
|
7
common/users/homeModules/terminal/gui.nix
Normal file
7
common/users/homeModules/terminal/gui.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./kitty.nix
|
||||
./warp.nix
|
||||
];
|
||||
}
|
18
common/users/homeModules/terminal/kitty.nix
Normal file
18
common/users/homeModules/terminal/kitty.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
kitty
|
||||
];
|
||||
file = {
|
||||
kitty = {
|
||||
recursive = true;
|
||||
source = ../../../dotfiles/kitty;
|
||||
target = "./.config/kitty";
|
||||
};
|
||||
};
|
||||
shellAliases = {
|
||||
"icat" = "kitten icat";
|
||||
};
|
||||
};
|
||||
}
|
8
common/users/homeModules/terminal/warp.nix
Normal file
8
common/users/homeModules/terminal/warp.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
warp-terminal
|
||||
];
|
||||
};
|
||||
}
|
|
@ -35,7 +35,7 @@
|
|||
../homeModules/rofi.nix
|
||||
../homeModules/social.nix
|
||||
../homeModules/sops.nix
|
||||
../homeModules/terminal.nix
|
||||
../homeModules/terminal
|
||||
../homeModules/virt.nix
|
||||
../homeModules/web.nix
|
||||
../homeModules/zsh.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue