Add cspell ignored words
This commit is contained in:
parent
c5387b01b8
commit
ac1a933127
4
Makefile
4
Makefile
|
@ -1,6 +1,6 @@
|
|||
$(eval HOSTNAME=$(shell hostname))
|
||||
NIXOS_REPO := git@git.xenia.me.uk:xenia/nixos.git
|
||||
NVIM_REPO := git@git.xenia.me.uk:xenia/nvim.git
|
||||
NIXOS_REPO := https://git.xenia.me.uk/xenia/nixos.git
|
||||
NVIM_REPO := https://git.xenia.me.uk/xenia/nvim.git
|
||||
HOMEMANAGER_CONFIG := $(PWD)/home/$(HOSTNAME)/$(USER).nix
|
||||
CONFIG_DIR := $(if $(XDG_CONFIG_HOME), $(XDG_CONFIG_HOME), $(HOME)/.config)
|
||||
BIN_DIR := $(HOME)/.local/bin
|
||||
|
|
69
README.md
69
README.md
|
@ -1,40 +1,45 @@
|
|||
# Personal dotfiles
|
||||
# Personal NixOS configs
|
||||
|
||||
Collection of various settings, configurations and other miscellaneous tools.
|
||||
## Contains
|
||||
|
||||
`Makefile` handles linking config files and installing available extras. Arguments for `make`:
|
||||
- System definitions for various personal and work machines
|
||||
- Desktop environment configs
|
||||
- Plasma
|
||||
- Hyprland
|
||||
- Personal server config
|
||||
- [Base domain](https://xenia.me.uk) # TODO
|
||||
- [Gitea](https://git.xenia.me.uk)
|
||||
- [AdGuardHome](https://guard.xenia.me.uk)
|
||||
- ~[Nextcloud](https://cloud.xenia.me.uk)~
|
||||
- Personal home environment definitions
|
||||
|
||||
- `link`
|
||||
- symlinks config files to `$XDG_CONFIG_HOME`
|
||||
- `unlink`
|
||||
- Undo `make link`
|
||||
- `install`
|
||||
- Downloads extras: ohmyz.sh, powerlevel10k, packer, TMUX plugin manager
|
||||
- `uninstall`
|
||||
- Undo `make install`
|
||||
- `all`
|
||||
- `link` and `install` in one operation
|
||||
## Installation
|
||||
|
||||
## Configs
|
||||
`Makefile` handles most things. Running `make` will determine if this is a NixOS or Nix home-manager only install. `make nixos` and `make home` execute either explicitly.
|
||||
|
||||
- [neovim](https://neovim.io)
|
||||
- [wezterm](https://wezfurlong.org/wezterm/)
|
||||
- [lazygit](https://github.com/jesseduffield/lazygit)
|
||||
- [tmux](https://tmux.github.io/)
|
||||
- [zsh](https://ohmyz.sh/) paths and aliases
|
||||
### NixOS
|
||||
|
||||
## Binaries
|
||||
Clone repo into `/etc/nixos/config`, `make nixos` will do this for you otherwise. Edit your `/etc/nixos/configuration.nix` to import top level expression, e.g.:
|
||||
|
||||
- [nvim](https://neovim.io)
|
||||
- [Lazygit](https://github.com/jesseduffield/lazygit)
|
||||
- [RipGrep](https://github.com/BurntSushi/ripgrep)
|
||||
|
||||
## Installing Arch Linux packages
|
||||
|
||||
Arch Linux package files stored under `packages`.
|
||||
|
||||
Each can be installed/updated using (replacing `pkglist.txt` with chosen file)
|
||||
|
||||
```bash
|
||||
pacman -T - < pkglist.txt || sudo pacman --needed -S - < pkglist.txt
|
||||
```nix
|
||||
{ config, pkgs, ... }: {
|
||||
imports =
|
||||
[
|
||||
# Other imports (e.g. ./hardware-configuration.nix)
|
||||
./config/hostname.nix
|
||||
];
|
||||
# Rest of your configuration.nix goes here
|
||||
}
|
||||
```
|
||||
|
||||
### Nix home-manager
|
||||
|
||||
**Must have `nix` installed to proceed**
|
||||
|
||||
Clone repo and run `make` or `make home`, a machine and user specific home-manager config will be created if it doesn't already exist, and then linked to `$XDG_CONFIG_HOME/home-manager/`. Execute:
|
||||
|
||||
```sh
|
||||
nix-shell -p home-manager -- run "home-manager switch -b backup"
|
||||
```
|
||||
|
||||
to install configuration. Home-manager will self-manager after this.
|
||||
|
|
1
cspell.json
Normal file
1
cspell.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"flagWords":[],"words":["Hyprland","Gitea","Nextcloud","NIXOS","NVIM","HOMEMANAGER","pkgs"],"language":"en","version":"0.2"}
|
Loading…
Reference in a new issue