From 8f003727fc6dfb92c12ef30d4056c870278ff286 Mon Sep 17 00:00:00 2001 From: Madeleine Date: Sun, 2 Apr 2023 22:26:52 +0100 Subject: [PATCH] some mac fixes --- maddie/common/code.nix | 1 - maddie/common/editor.nix | 1 - maddie/common/wezterm.nix | 3 ++- systems/mmacbookpro/sudo.nix | 5 +++++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 systems/mmacbookpro/sudo.nix diff --git a/maddie/common/code.nix b/maddie/common/code.nix index 34a848f..d4c3e95 100644 --- a/maddie/common/code.nix +++ b/maddie/common/code.nix @@ -4,6 +4,5 @@ home.packages = with pkgs; [ python3Full # Python go # Go - gcc # C ]; } diff --git a/maddie/common/editor.nix b/maddie/common/editor.nix index e0488f2..0a254b8 100644 --- a/maddie/common/editor.nix +++ b/maddie/common/editor.nix @@ -3,7 +3,6 @@ { # Misc editors home.packages = with pkgs; [ - vscode helix vis ]; diff --git a/maddie/common/wezterm.nix b/maddie/common/wezterm.nix index 20a043c..fcb9406 100644 --- a/maddie/common/wezterm.nix +++ b/maddie/common/wezterm.nix @@ -6,7 +6,8 @@ extraConfig = '' return { color_scheme = 'OneDark (base16)', - hide_tab_bar_if_only_one_tab = true + hide_tab_bar_if_only_one_tab = true, + window_close_confirmation = 'NeverPrompt' } ''; }; diff --git a/systems/mmacbookpro/sudo.nix b/systems/mmacbookpro/sudo.nix new file mode 100644 index 0000000..d523187 --- /dev/null +++ b/systems/mmacbookpro/sudo.nix @@ -0,0 +1,5 @@ +{ config, ... }: + +{ + security.pam.enableSudoTouchIdAuth = true; +}