LINKDING
Login
Shared bookmarks
Sort by
Added ↑
Added ↓
Title ↑
Title ↓
Apply
Tags
Where do people keep their `configuration.nix` - #4 by jtojnar - Help - NixOS Discourse
#configuration
#discussion
#howtos
#nixos
|
I cloned my config repo into Projects directory in my home directory and have been running nixos-rebuild switch -I nixpkgs=$HOME/Projects/nixpkgs -I nixos-config=$HOME/Projects/nixfiles/hosts/$(hostname)/configuration.nix.¹ I do not even have /etc/nixos on my computer, and the nixfiles directory is completely anonymous – I can move it anywhere and, since I actually use relative paths in the rebuild command, I will not even have to change anything. Some other tools like nixos-option might requi...
1 year ago
|
View
Shared by
sokai
Previous
1
Next
User
Everyone
sokai
Apply
Tags
-nixos
-discussion
-howtos
c
onfiguration