Testing keymaps
This commit is contained in:
parent
b7c8fa2379
commit
1ad37a6309
2 changed files with 15 additions and 6 deletions
13
README.md
13
README.md
|
@ -53,7 +53,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh
|
|||
|
||||
## General
|
||||
* [ ] Security hardening / scans / etc
|
||||
* [ ] Edit the hosts file
|
||||
* [x] Edit the hosts file
|
||||
* [ ] Where possible, convert cronjobs to systemd services / timers
|
||||
|
||||
## Forgejo
|
||||
|
@ -123,8 +123,15 @@ Completed ToDo List [here](docs/complete.md)
|
|||
5. Reboot and verify you are activated: `bootctl status`
|
||||
|
||||
## Framework Specific:
|
||||
1. Change boot import from `boot.nix` to `secureboot.nix`
|
||||
2. Reboot into EUFI and set SecureBoot to ""
|
||||
1. Change boot import from `boot.nix` to `secureboot.nix` in `./nixos/hosts/<hostname>/default.nix`
|
||||
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
|
||||
1. Import the user private key: `gpg --import gpg/users/albert/privkey.asc`
|
||||
|
|
|
@ -24,9 +24,6 @@
|
|||
(nvmap "<Space>" "<Nop>" // silent)
|
||||
(nvmap "<Cr>" "<Nop>" // silent)
|
||||
(nvmap "s" "<Nop>" // silent)
|
||||
# Leave insert mode by pressing j and k simultaneously
|
||||
(imap "jk" "<Esc>")
|
||||
(imap "kj" "<Esc>")
|
||||
# Redo
|
||||
(nmap "R" "<C-r>")
|
||||
# Copy and paste
|
||||
|
@ -44,6 +41,11 @@
|
|||
|
||||
# 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 = {
|
||||
|
|
Loading…
Reference in a new issue