Testing keymaps

This commit is contained in:
iFargle 2024-02-12 12:54:48 +09:00
parent b7c8fa2379
commit 1ad37a6309
2 changed files with 15 additions and 6 deletions

View file

@ -53,7 +53,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh
## General ## General
* [ ] Security hardening / scans / etc * [ ] Security hardening / scans / etc
* [ ] Edit the hosts file * [x] Edit the hosts file
* [ ] Where possible, convert cronjobs to systemd services / timers * [ ] Where possible, convert cronjobs to systemd services / timers
## Forgejo ## Forgejo
@ -123,8 +123,15 @@ Completed ToDo List [here](docs/complete.md)
5. Reboot and verify you are activated: `bootctl status` 5. Reboot and verify you are activated: `bootctl status`
## Framework Specific: ## Framework Specific:
1. Change boot import from `boot.nix` to `secureboot.nix` 1. Change boot import from `boot.nix` to `secureboot.nix` in `./nixos/hosts/<hostname>/default.nix`
2. Reboot into EUFI and set SecureBoot to "" 4. Run `rebuild-host` to switch from `boot.nix` to `secureboot.nix`
2. Reboot into EUFI and set SecureBoot settings to:
* Enforce Secure Boot - Enabled
* Erase all Secure Boot Settings - Enabled
* Restore Secure Boot to Factory Settings - Disabled
3. Save and reboot
4. Run `sudo sbctl create-keys`
5. Run `sudo sbctl enroll-keys`
# Manual: GPG Keys # Manual: GPG Keys
1. Import the user private key: `gpg --import gpg/users/albert/privkey.asc` 1. Import the user private key: `gpg --import gpg/users/albert/privkey.asc`

View file

@ -24,9 +24,6 @@
(nvmap "<Space>" "<Nop>" // silent) (nvmap "<Space>" "<Nop>" // silent)
(nvmap "<Cr>" "<Nop>" // silent) (nvmap "<Cr>" "<Nop>" // silent)
(nvmap "s" "<Nop>" // silent) (nvmap "s" "<Nop>" // silent)
# Leave insert mode by pressing j and k simultaneously
(imap "jk" "<Esc>")
(imap "kj" "<Esc>")
# Redo # Redo
(nmap "R" "<C-r>") (nmap "R" "<C-r>")
# Copy and paste # Copy and paste
@ -44,6 +41,11 @@
# Insert Mode # Insert Mode
# Normal Mode
(nmap "<leader>n" "\"+s" ":Neotree selector<C-r>"// desc "[S]elect neotree")
(nmap "<leader>n" "\"+t" ":Neotree toggle<C-r>" // desc "[T]oggle neotree")
(nmap "<leader>n" "\"+c" ":Neotree close<C-r>" // desc "[C]lose neotree")
(nmap "<leader>n" "\"+b" ":Neotree buffers<C-r>" // desc "Open [b]uffers")
]; ];
options = { options = {