Skip to content

krscott/dots

Repository files navigation

nixcfg

My home-manager nix config.

./switch-home.sh

Derived config

To derive a config from this config (like for work or something), start with docs/derived-flake-template.nix.

TODO

  • improvements from this blog
  • Add zsh-forgit
  • Switch tmux to zellij?
  • Switch vim to nixvim?

Enter key fixes

Some terminals have trouble with modfiers. See:

tldr for windows, add this to terminal settings json:

{ "command": {"action": "sendInput", "input": "\u001b[13;2u" }, "keys": "shift+enter" },
{ "command": {"action": "sendInput", "input": "\u001b[13;5u" }, "keys": "ctrl+enter" },
{ "command": {"action": "sendInput", "input": "\u001b[13;6u" }, "keys": "ctrl+shift+enter" },
{ "command": {"action": "sendInput", "input": "\u001b[32;2u" }, "keys": "shift+space" },
{ "command": {"action": "sendInput", "input": "\u001b[32;5u" }, "keys": "ctrl+space" },
{ "command": {"action": "sendInput", "input": "\u001b[32;6u" }, "keys": "ctrl+shift+space" },

Secrets setup

mkdir -p ~/.config/sops/age
nix shell nixpkgs#age -c age-keygen -o ~/.config/sops/age/keys.txt
# (Paste key into .sops.yaml)
sops secrets/secrets.yaml

About

My dot files and nix config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published