-
After partitioning, formatting and mounting the filesystems, run:
# Just to be sure, that /etc/nixos is created... nixos-generate-config --root /mnt
-
Clone this repository, edit
nixos/configuration.nix
andnixos/hardware-configuration.nix
... ReplaceUUID
with hardware new UUIDs, push changes. If you're not me, you can't push changes. So just use that clone after editing those files:cd cloned_repo_path nixos-install --impure --flake .#x1c
x1c
is my hostname. So if you want to change it, don't forget to replace it three places:- 1 in
nixos/configuration.nix
- 2 in
flake.nix
- 3 when invoking
nixos-install
- 1 in
-
After installation, install
home-manager
and then give it this flake to copy dotfiles.nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz nix-channel --update nix-shell '<home-manager>' -A install home-manager switch --flake github:Awan/nix#ak
-
Notifications
You must be signed in to change notification settings - Fork 1
My NixOS dotfiles managed by Home-Manager
License
Awan/nix
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
My NixOS dotfiles managed by Home-Manager
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published