chrome for stupid reasons, tmux updates, direnv
This commit is contained in:
parent
c14e0dde4e
commit
3e02b38f38
5 changed files with 39 additions and 4 deletions
12
readme.md
12
readme.md
|
@ -2,8 +2,8 @@
|
|||
|
||||
- Before anything else, ensure the generated hardware-configuration is copied over into the desired hostname target in systems directory.
|
||||
- //todo add experimental whatevers `nixos-rebuild switch --flake /etc/nixos#gpdPocket3`
|
||||
- copy oover this systems ssh public key pairs into the ./secrets/secrets.nix file - push those up, using another computer re-key all the secrets, push up again
|
||||
- pull new secrets down with new added keys
|
||||
- copy oover this systems ssh public key pairs into the ./secrets/secrets.nix file - push those up, using another computer re-key all the secrets, push up again
|
||||
- pull new secrets down with new added keys
|
||||
|
||||
# Later updates
|
||||
|
||||
|
@ -23,14 +23,15 @@ I used the existing windows 100MB boot partition and it fills up constantly. Hav
|
|||
- home manager: https://nix-community.github.io/home-manager/options.xhtml
|
||||
TODO make an offline version of this, does someone else have this already?
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
- Secret management?
|
||||
- ssh keys for github/etc
|
||||
- ssh keys for github/etc
|
||||
- Use top level split out home manager configurations instead of the one built into the system config...
|
||||
- Make a flake for neovim and move out some system packages required for that into that flake, re-use for root and user rather than cloning each place?
|
||||
- EDITOR env var set to neovim
|
||||
- gif command from video
|
||||
|
||||
```sh
|
||||
gif () {
|
||||
if [[ -z $1 ]]; then
|
||||
|
@ -40,4 +41,7 @@ gif () {
|
|||
ffmpeg -i $1 -filter_complex "fps=7,scale=iw:-1:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse=dither=bayer" $1".gif"
|
||||
}
|
||||
```
|
||||
|
||||
- Ensure my neovim undohistory/auto saves don't save `.age` files as they can be sensitive.
|
||||
- make sure all my aliases are accounted for, still missing things like rust etc: https://github.com/RingOfStorms/setup
|
||||
- add in copy paste support with xclip or nix equivalent
|
||||
|
|
18
users/_common/programs/direnv.nix
Normal file
18
users/_common/programs/direnv.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ settings, ... }:
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
config = {
|
||||
global = {
|
||||
strict_env = true;
|
||||
load_dotenv = true;
|
||||
hide_env_diff = true;
|
||||
};
|
||||
whitelist = {
|
||||
prefix = [ "~/projects" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -50,6 +50,9 @@
|
|||
"Network Trash Folder"
|
||||
"Temporary Items"
|
||||
".apdisk"
|
||||
|
||||
# direnv things
|
||||
"/.direnv"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
5
users/josh/programs/chrome.nix
Normal file
5
users/josh/programs/chrome.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.google-chrome ];
|
||||
}
|
||||
|
|
@ -73,5 +73,10 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
t = "tmux";
|
||||
tat = "tmux ls 2>/dev/null && tmux attach-session -t \"$(tmux ls | head -n1 | cut -d: -f1)\" || tmux new-session";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue