Compare commits
3 Commits
89ae314939
...
1e075ffb13
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e075ffb13 | |||
| 1429eaf34f | |||
| 4ec1268b2e |
5
Makefile
5
Makefile
@@ -34,3 +34,8 @@ dotfiles:
|
||||
.PHONY: test
|
||||
test:
|
||||
./test-in-docker.sh
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
git ls-files -z '*.md' | xargs -0 prettier --print-width 80 --prose-wrap always --write
|
||||
git ls-files -z '*.toml' | xargs -0 taplo format
|
||||
|
||||
30
README.md
30
README.md
@@ -1,25 +1,43 @@
|
||||
# dotfiles
|
||||
|
||||
My configuration files.
|
||||
My configuration files for my systems. Uses Ansible for local configuration.
|
||||
|
||||
# Installation
|
||||
## Supported OS
|
||||
|
||||
Only Arch Linux is supported
|
||||
|
||||
## Bootstrapping
|
||||
|
||||
Bootstrapping is specific to the exact machine that is installed. See
|
||||
`_machines/` for machine-specific configuration, and `install_scripts/` for the
|
||||
machine install scripts.
|
||||
|
||||
They are keyed by hostname.
|
||||
|
||||
For easier installation, the install scripts are available via shortlinks. To
|
||||
(re)install a new machine from a Arch live environment:
|
||||
|
||||
```
|
||||
curl --proto '=https' -sSfL https://s.hkoerber.de/i/${hostname}.sh | bash
|
||||
```
|
||||
|
||||
## Manual Installation
|
||||
|
||||
Because it manages multiple users on the system, the directory is supposed to be
|
||||
at `/var/lib/dotfiles`.
|
||||
|
||||
To setup the dotfiles:
|
||||
To set up the dotfiles:
|
||||
|
||||
1. `git clone https://github.com/hakoerber/dotfiles.git ~/dotfiles`
|
||||
2. `cd ~/dotfiles && ./install.sh`
|
||||
|
||||
# Partial application
|
||||
## Partial application
|
||||
|
||||
To apply only a subset of the changes, use ansible tags that are available via
|
||||
the Makefile:
|
||||
|
||||
| Command | Description |
|
||||
| --- | --- |
|
||||
| `make update` | Updates the system with the latest packages |
|
||||
| --------------- | -------------------------------------------------- |
|
||||
| `make packages` | Installs all defined packages (see `packages.yml`) |
|
||||
| `make dotfiles` | Manages the users' dotfiles |
|
||||
|
||||
|
||||
@@ -21,4 +21,3 @@ blue = "#66d9ef"
|
||||
magenta = "#ae81ff"
|
||||
cyan = "#a1efe4"
|
||||
white = "#f9f8f5"
|
||||
|
||||
|
||||
@@ -5,12 +5,7 @@ idle-timeout = 0
|
||||
completion-trigger-len = 2
|
||||
|
||||
[editor.statusline]
|
||||
left = [
|
||||
"mode",
|
||||
"separator",
|
||||
"file-name",
|
||||
"file-modification-indicator",
|
||||
]
|
||||
left = ["mode", "separator", "file-name", "file-modification-indicator"]
|
||||
|
||||
right = [
|
||||
"spinner",
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
|
||||
[[language]]
|
||||
name = "bash"
|
||||
indent = { unit = " " , tab-width = 4 }
|
||||
indent = { unit = " ", tab-width = 4 }
|
||||
|
||||
[language-server.pylsp.config.pylsp.plugins]
|
||||
flake8 = {enabled = false}
|
||||
flake8 = { enabled = false }
|
||||
|
||||
[[language]]
|
||||
name = "python"
|
||||
indent = { unit = " " , tab-width = 4 }
|
||||
indent = { unit = " ", tab-width = 4 }
|
||||
|
||||
[[language]]
|
||||
name = "dockerfile"
|
||||
indent = { unit = " " , tab-width = 4 }
|
||||
indent = { unit = " ", tab-width = 4 }
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user