Skip to content

rdcm/dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Home-manager configuration for reproducible dev environment setup on Fedora Linux.

Structure

.
├── flake.nix          # Entrypoint, inputs & outputs
├── home.nix           # Root home-manager config
├── modules/
│   ├── home-manager.nix  # Base settings, shell, packages
│   ├── apps/             # GUI applications
│   └── packages/         # CLI tools & dev packages
└── Makefile           # Shortcuts

Bootstrap

Install Nix:

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon

Nix - Official Site

Install home-manager and apply:

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager 
nix-channel --update

nix-shell '<home-manager>' -A install

Home Manager - Official Site

Enable experimental features:

touch ~/.config/nix/nix.conf 
experimental-features = nix-command flakes

Install dependencies:

home-manager switch --flake ~/.config/home-manager

Commands

Command Description
make sync Apply configuration
make format Format all .nix files
make format-check Check formatting
make lint Fix lint issues
make lint-check Check lint
make cleanup Remove dead code
make cleanup-check Check dead code

About

Dev Environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors