From 7436a7b5e7023d16053b252abefdbe6a9021c312 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 25 Nov 2024 18:26:49 +0100 Subject: [PATCH 1/4] Toggle menu bar hiding to false in macOS config This change modifies the NSGlobalDomain settings to make the menu bar always visible by setting `_HIHideMenuBar` to false. This ensures a consistent user interface by keeping the menu bar accessible at all times. --- modules/darwin/system/interface/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/darwin/system/interface/default.nix b/modules/darwin/system/interface/default.nix index 717f37b..ae0c5a4 100644 --- a/modules/darwin/system/interface/default.nix +++ b/modules/darwin/system/interface/default.nix @@ -47,7 +47,7 @@ in }; NSGlobalDomain = { - _HIHideMenuBar = true; + _HIHideMenuBar = false; AppleShowScrollBars = "Always"; }; }; From 5ee726a22ed6970b3405dccdfa54c13e082ff526 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 25 Nov 2024 18:27:41 +0100 Subject: [PATCH 2/4] Update neovim-flake URL and version Changed the neovim-flake URL to the new repository and updated its version from v0.5 to v0.6. This ensures we are using the latest configurations and features from the renamed repository. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7553e3b..6db88cc 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,7 @@ home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; - neovim-flake.url = "github:notashelf/neovim-flake/v0.5"; + neovim-flake.url = "github:NotAShelf/nvf/v0.6"; neovim-flake.inputs.nixpkgs.follows = "nixpkgs"; disko.url = "github:nix-community/disko"; From bc266ec793e896eccb640764fd3b9f6c1a347f73 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 27 Nov 2024 16:37:09 +0100 Subject: [PATCH 3/4] Update neovim-flake URL and version Changed the neovim-flake URL to the new repository and updated its version from v0.5 to v0.6. This ensures we are using the latest configurations and features from the renamed repository. --- modules/darwin/user/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/darwin/user/default.nix b/modules/darwin/user/default.nix index 8de684c..2dcf664 100644 --- a/modules/darwin/user/default.nix +++ b/modules/darwin/user/default.nix @@ -21,6 +21,12 @@ in email = mkOpt types.str "harald@hoyer.xyz" "The email of the user."; uid = mkOpt (types.nullOr types.int) 501 "The uid for the user account."; + sshKeys = mkOpt (types.listOf types.str) [ + "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box" + "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg== harald@hoyer.xyz" + "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAYbUTKpy4QR3s944/hjJ1UK05asFEs/SmWeUbtS0cdA660sT4xHnRfals73FicOoz+uIucJCwn/SCM804j+wtM=" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNsmP15vH8BVKo7bdvIiiEjiQboPGcRPqJK0+bH4jKD harald@lenovo.fritz.box" + ] "ssh keys"; }; config = { @@ -29,6 +35,7 @@ in # module to evaluate successfully since it reads # `users.users.${metacfg.user.name}.uid`. uid = mkIf (cfg.uid != null) cfg.uid; + openssh.authorizedKeys.keys = cfg.sshKeys; }; snowfallorg.users.${config.metacfg.user.name}.home.config = { From 58663a006ad1d578498a1d8e1ddd41e054ccd37b Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 27 Nov 2024 17:25:26 +0100 Subject: [PATCH 4/4] Update neovim-flake URL and version Changed the neovim-flake URL to the new repository and updated its version from v0.5 to v0.6. This ensures we are using the latest configurations and features from the renamed repository. --- homes/aarch64-darwin/harald@m4/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/homes/aarch64-darwin/harald@m4/default.nix b/homes/aarch64-darwin/harald@m4/default.nix index 467fabd..c6a3652 100644 --- a/homes/aarch64-darwin/harald@m4/default.nix +++ b/homes/aarch64-darwin/harald@m4/default.nix @@ -11,6 +11,13 @@ stateVersion = "23.11"; # Please read the comment before changing. }; + + programs.ssh.extraConfig = '' + UseKeychain yes + AddKeysToAgent yes + IdentityFile ~/.ssh/id_ed25519 + ''; + metacfg = { cli-apps = { bash.enable = true;