Remove macbook from repo

This commit is contained in:
Natsu Kagami 2024-07-23 17:58:52 +02:00
parent 38c7afa96f
commit 509b44a31b
Signed by: nki
GPG key ID: 55A032EB38B49ADB
17 changed files with 3 additions and 789 deletions

View file

@ -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";
};
};
}

View file

@ -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";