Remove macbook from repo
This commit is contained in:
parent
38c7afa96f
commit
509b44a31b
17 changed files with 3 additions and 789 deletions
|
@ -1,27 +0,0 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
cfg = config.nki.programs.kitty;
|
||||
cmd = "cmd";
|
||||
in
|
||||
with lib; {
|
||||
programs.kitty = mkIf (cfg.enable && pkgs.stdenv.isDarwin) {
|
||||
|
||||
# Darwin-specific setup
|
||||
darwinLaunchOptions = [
|
||||
"--single-instance"
|
||||
"--start-as=fullscreen"
|
||||
];
|
||||
|
||||
# Tabs and layouts keybindings
|
||||
keybindings = {
|
||||
# Backslash
|
||||
"0x5d" = "send_text all \\u005c";
|
||||
};
|
||||
|
||||
settings = {
|
||||
# MacOS specific
|
||||
macos_option_as_alt = "left";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,11 +2,10 @@
|
|||
|
||||
let
|
||||
cfg = config.nki.programs.kitty;
|
||||
cmd = if pkgs.stdenv.isDarwin then "cmd" else "ctrl";
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
imports = [ ./darwin.nix ./linux.nix ./tabs.nix ];
|
||||
imports = [ ./linux.nix ./tabs.nix ];
|
||||
|
||||
options.nki.programs.kitty = {
|
||||
enable = mkEnableOption "Enable kitty";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue