diff --git a/README.md b/README.md index 949b30fa..b978767b 100644 --- a/README.md +++ b/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//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` diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 4750e840..89f77b75 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -24,9 +24,6 @@ (nvmap "" "" // silent) (nvmap "" "" // silent) (nvmap "s" "" // silent) - # Leave insert mode by pressing j and k simultaneously - (imap "jk" "") - (imap "kj" "") # Redo (nmap "R" "") # Copy and paste @@ -44,6 +41,11 @@ # Insert Mode + # Normal Mode + (nmap "n" "\"+s" ":Neotree selector"// desc "[S]elect neotree") + (nmap "n" "\"+t" ":Neotree toggle" // desc "[T]oggle neotree") + (nmap "n" "\"+c" ":Neotree close" // desc "[C]lose neotree") + (nmap "n" "\"+b" ":Neotree buffers" // desc "Open [b]uffers") ]; options = {