Skip to content

eviefp/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Feviefp%2Fdotfiles

My system configuration

Please let me know if you see anything dubious or that can be improved.

Basic setup

This is a flake-based system configuration for my NixOS devices, with system-wide settings being setup through NixOS modules and personal/user settings being configured through the NixOS home-manager module.

The basic structure is:

  • config are random configuration files that are used in nix modules
  • dev-shell has my default haskell setup
  • home-manager has the HM modules and device configurations
  • system has the NixOS modules and device configurations

Initial setup

You will probably want to pick one of my devices as an example:

  • thelxinoe is my desktop
  • janus and aiode are my laptops
  • fractal is my headless home server
  • thanatos is my phone
sudo nixos-rebuild switch --flake .#newname

If you want to update the flake pins, you can run nix flake update.

Neovim/Emacs/Helix

Neovim: ./modules/home-manager/programs/editors/neovim.nix (*)

Emacs: ./modules/home-manager/programs/editors/emacs.nix and ./config/init.el

Helix: ./modules/home-manager/programs/editors/helix.nix

Sops stuff

For age keys

nix-shell -p ssh-to-age
cat public_ed25519 | ssh-to-age # use this as the public key in the sops file
cat private_ed25519 | ssh-to-age -private-key # put this in ~/.config/sops/age/keys.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published