Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbulav/dotfiles
My configuration files
https://github.com/sbulav/dotfiles
devops dotfiles neovim-dotfiles
Last synced: 3 months ago
JSON representation
My configuration files
- Host: GitHub
- URL: https://github.com/sbulav/dotfiles
- Owner: sbulav
- Created: 2017-12-04T18:36:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T12:37:53.000Z (7 months ago)
- Last Synced: 2024-04-04T15:06:54.670Z (7 months ago)
- Topics: devops, dotfiles, neovim-dotfiles
- Language: Shell
- Homepage:
- Size: 18.5 MB
- Stars: 29
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# My configuration files managed with NixOS flake
[![Nix](https://img.shields.io/badge/NIX-5277C3.svg?style=for-the-badge&logo=NixOS&logoColor=white)](https://builtwithnix.org/)
[![NixOS](https://img.shields.io/badge/NIXOS-5277C3.svg?style=for-the-badge&logo=NixOS&logoColor=white)](https://nixos.org/)
[![Snowfall](https://img.shields.io/static/v1?logoColor=d8dee9&label=Built%20With&labelColor=5e81ac&message=Snowfall&color=d8dee9&style=for-the-badge)](https://github.com/snowfallorg/lib)
[![Neovim](https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white)](https://github.com/neovim/neovim)[![GitGuardian scan](https://github.com/sbulav/dotfiles/actions/workflows/gitguardian.yml/badge.svg)](https://github.com/sbulav/dotfiles/actions/workflows/gitguardian.yml)
[![release-please](https://github.com/sbulav/dotfiles/actions/workflows/please_release.yml/badge.svg)](https://github.com/sbulav/dotfiles/actions/workflows/please_release.yml)## Nix
- MacOS
- [Nix Flakes](https://nixos.wiki/wiki/Flakes)
- [Nix-Darwin](https://github.com/LnL7/nix-darwin)
- [Home-Manager](https://nix-community.github.io/home-manager/)
- NixOS
- [Nix Flakes](https://nixos.wiki/wiki/Flakes)
- [Home-Manager](https://nix-community.github.io/home-manager/)
- [Hyprland](https://wiki.hyprland.org) + Waybar, Swaylock, Rofi, mako, hyprpaperNix flakes following arbitrary Snowfall lib conventions:
```text
nix/
│
│ Nix flake.
├─ flake.nix
│
│ An optional custom library.
├─ lib/
│
│ An optional set of packages to export.
├─ packages/
│
├─ modules/ (optional modules)
│
├─ overlays/ (optional overlays)
│
├─ systems/ (optional system configurations)
│
└─ homes/ (optional homes configurations)
```Kudos for config inspiration to:
- [Introduction to Nix & NixOS](https://nixos-and-flakes.thiscute.world/introduction/)
- [Nix for MacOS by dustinlyons](https://github.com/dustinlyons/nixos-config)
- [Nix starter configs by Misterio77](https://github.com/Misterio76/nix-starter-configs)
- [Nix configs with snowlake by Jake Hamilton](https://github.com/jakehamilton/config)You might also want to check out my blog with [#Nix category](https://sbulav.github.io/categories/#nix)
### Useful NIX commands
Quickly try out new package in the shell without installing it:
```sh
nix shell nixpkgs#glow
```List all generations:
```sh
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
```Rollback to previous generation:
```sh
sudo nixos-rebuild switch --flake ~/dotfiles/nix#nz --rollback
```Rollback to previous generation:
```sh
sudo nixos-rebuild switch --flake ~/dotfiles/nix#nz --rollback
```Activate specific generation:
```sh
sudo nix-env --profile /nix/var/nix/profiles/system --switch-generation 210
```## Automated workflows
I'm using following workflows to automate management of my dotfiles:
- [automerge-release.yml](.github/workflows/automerge-release.yml) - Merge
changelog automated PR
- [commit_validate.yml](.github/workflows/commit_validate.yml) - Validate
commits are using `conventional commits` style
- [gitguardian.yml](.github/workflows/gitguardian.yml) - Check for leaking
secrets/tokens
- [please_release.yml](.github/workflows/please_release.yml) - Automated
releases based on conventional commits
- [update-readme.yml](.github/workflows/update-readme.yml) - Workflow to
generate this README