My NixOS configurations + Home Manager configurations...
Abdullah Khabir 3b7694cfbb scrtchapd keybindings | vor 2 Jahren | |
---|---|---|
dots | vor 2 Jahren | |
nixos | vor 2 Jahren | |
secrets @ d85aab59eb | vor 2 Jahren | |
.envrc | vor 2 Jahren | |
.gitignore | vor 2 Jahren | |
.gitmodules | vor 2 Jahren | |
LICENSE | vor 2 Jahren | |
README.md | vor 2 Jahren | |
flake.lock | vor 2 Jahren | |
flake.nix | vor 2 Jahren | |
home.nix | vor 2 Jahren |
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
and nixos/hardware-configuration.nix
... Replace UUID
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:
nixos/configuration.nix
flake.nix
nixos-install
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