GitXplorerGitXplorer
j

dotfiles

public
17 stars
0 forks
2 issues

Commits

List of commits on branch master.
Unverified
4c82a041315588995042656d2e50d0a17a2ab198

Update clojure dependencies

jjlesquembre committed 11 days ago
Verified
3d9ec76b6d526a08cb0e0721e1fdcc48325bfabf

nixpkgs-fmt

jjlesquembre committed 9 days ago
Verified
5cd446542f912881a1a4afc7114f4b44df7f3663

fastfetch

jjlesquembre committed 9 days ago
Verified
df03e677e106d1264343e3871f9ba0dc027efc2f

mako -> swaync

jjlesquembre committed 11 days ago
Verified
6aba91e1377f2967d1d28bef1a7e1d0987a6cbeb

ghostty

jjlesquembre committed 11 days ago
Verified
29fc146e400d57d82e9d86f79d6dbe4d158022dc

volnoti -> avizo

jjlesquembre committed 11 days ago

README

The README file for this repository.

dotfiles

My personal dotfiles

Structure

  • /dotfiles: Configuration files, like .conf, .json files
  • /home-manager: Home manager configuration
  • /lib: Helper functions
  • /nixos: Nix configuration for nixos-rebuild commands
  • /overlays: Custom packages

Installation

NixOS

First get a shell with the required dependencies:

nix develop github:jlesquembre/dotfiles
sudo nixos-rebuild switch --flake ~/dotfiles

That commnads assumes that a file with the same name as the current hostname at nixos/hosts. For example, if the hostname is foo, the file will be /nixos/hosts/foo.nix. That file is the main entry point for the NixOS configuration.

We can override the flake hostname with the #name syntax, e.g.: --flake ~/dotfiles#other-name

Home manager

home-manager switch --flake ~/dotfiles

To add some extra custom config for only one host, add a file with that hostname at home-manager/hosts

To build home-manager for a different host use the # syntax, but for home-manager the user name is also required, e.g.:

home-manager switch --flake ~/dotfiles#user@host

Update dependencies

nix flake lock --update-input

Run neovim

Useful to get neovim with my config anywhere:

nix run github:jlesquembre/dotfiles#nvim