diff --git a/hosts/murk/configuration.nix b/hosts/murk/configuration.nix index f8f12ef..00e5f56 100644 --- a/hosts/murk/configuration.nix +++ b/hosts/murk/configuration.nix @@ -9,6 +9,11 @@ ... }: let cfg = config.mods; + keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILmAOd9VbhyJeibt6Vrb101MNTk5W8+rh94Djv/C+pyu muon@muho" + ]; in { # Hardware imports = [ @@ -58,6 +63,9 @@ in { services.picom.enable = true; services.picom.opacityRules = ["50:name *= 'Cheat'"]; + users.users.muon.openssh.authorizedKeys.keys = keys; + users.users.root.openssh.authorizedKeys.keys = keys; + # Persist environment.persistence."/persist" = { directories = ["/etc/NetworkManager" "/var/lib/NetworkManager"]; diff --git a/hosts/murk/home.nix b/hosts/murk/home.nix index 974866f..a891f58 100644 --- a/hosts/murk/home.nix +++ b/hosts/murk/home.nix @@ -36,6 +36,8 @@ in { ruff just go + rainfrog + tealdeer ] # Non-free w"; + mode = ["n"]; + action = ":w"; + silent = true; + desc = "Save file"; + } + { + key = "gd"; + mode = "n"; + silent = true; + action = "lua vim.lsp.buf.definition()"; + desc = "Go to Definition"; + } + ]; + languages = { enableFormat = true; enableTreesitter = true;