Skip to content

About

Nix home-manager for system adminstration

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Requirement

GCC for LazyVim treesitter:

sudo apt install gcc

Clone

Clone it into the $HOME/.config/home-manager.

git clone https://github.com/MohsenNz/hm-sysadmin.git $HOME/.config/home-manager

Install Nix

See here

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Initialize home-manager (with flake)

Set home.username and home.homeDirectory in home.nix according to your username & home-directory in the current system and replace mohsen in homeConfigurations."mohsen" in flake.nix with your username.

Then run (For nixpkgs-25.05 otherwize replace it with the version you are using in flake):

nix run home-manager/release-25.05 -- switch

It's for latest (unstable) version:

nix run home-manager/master -- switch

After that each time you change home.nix use (It will install apps and put dotfiles):

home-manager switch

Or if you want to just apply dotfiles without package updates, run:

home-manager switch --option substitute false

More info is here.

Update home-manager packages

nix flake update
home-manager switch

About

Nix home-manager for system adminstration

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages