Skip to content

trin94/nix-config

Repository files navigation

nixOS config

This repo contains my work-in-progress nixOS and home-manager configuration.

Install on new machine

nix-shell -p git just home-manager nh nixfmt treefmt2

git clone https://github.com/trin94/nix-config.git ~/.dotfiles
cd ~/.dotfiles

# Configure new setup
cp /etc/nixos/hardware-configuration.nix setups/<hostname>.hardware.nix
cp /etc/nixos/configuration.nix setups/<hostname>.system.nix
touch <hostname>.user.nix

export NIX_CONFIG="experimental-features = nix-command flakes"

# nix flake update --commit-lock-file

just apply-system apply-user

Flatpak

flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Links

About

NixOS configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published