Skip to content

jack3898/nixcfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My NixOS System

This README is here mostly for me, but hey, welcome to my system config!

I am a beginner to NixOS. Which means I will have a lot of basic things added in this README for my future reference.

Build

sudo nixos-rebuild switch --flake /etc/nixos#HOST_HERE

Note: in this flake, Home Manager is integrated into the NixOS configuration via the NixOS Home Manager module. That means running nixos-rebuild switch will also apply your Home Manager config for that host/user.

Home Manager (optional)

home-manager switch --flake /etc/nixos#"USERNAME_HERE@HOST_HERE"

Use home-manager switch when:

  • You want to apply only the user config without rebuilding the whole system, or
  • You are managing a non-NixOS machine with Home Manager.

Garbage collect

sudo nix-collect-garbage -d

Update system deps

nix flake update /etc/nixos

Then run the build command above again.

About

My NixOS system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages