https://github.com/cethien/dotfiles
🧑💻 "dotfiles"
https://github.com/cethien/dotfiles
ansible docker dotfiles home-manager linux nix nix-flake nixos
Last synced: 9 months ago
JSON representation
🧑💻 "dotfiles"
- Host: GitHub
- URL: https://github.com/cethien/dotfiles
- Owner: cethien
- Created: 2024-11-30T22:08:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-02T00:20:18.000Z (9 months ago)
- Last Synced: 2025-10-02T01:23:44.303Z (9 months ago)
- Topics: ansible, docker, dotfiles, home-manager, linux, nix, nix-flake, nixos
- Language: Nix
- Homepage:
- Size: 46 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "dotfiles"
my dotfiles... and setup scripts... and system configurations... and server
infra...
## requirements:
- [NixOS](https://nixos.org/) / any distro with Nix Package Manager
## remote usage
### setup home
for first time installation.
installs nix, sets some permissions and builds home-manager.
check [`setup file`](./setup-home.sh) for details.
```bash
sh <(curl -fsSL -H 'Cache-Control: no-cache' "https://raw.githubusercontent.com/cethien/dotfiles/main/setup-home.sh")
```
### neovim
_`i use vim btw`_ 🤓
_`are you really 10x without vim motions?`_ 🤓
build neovim from remote.
not sure about installing, will look into it later (famous last words)
```bash
nix run github:cethien/dotfiles#neovim
```
### build home from remote
_doesn't need existing home manager instance_
```bash
nix run nixpkgs#home-manager -- switch \
--flake github:cethien/dotfiles#"$(whoami)@$(hostname | tr 'A-Z' 'a-z')" -b bak-hm-"$(date +%Y%m%d_%H%M%S)"
```
includes also 2 console aliases:
- `rebuild` to build home from remote
- `rebuild-os` to build system from remote... speaking of:
### build nixos
well, you should have nixos installed, otherwise... will do nuthin' (well, it
will error, but thats basically nuthin')
```bash
sudo nixos-rebuild switch \
--flake github:cethien/dotfiles#"$(hostname | tr 'A-Z' 'a-z')"
```