Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 881 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 881 Bytes

My NIXOS config

To start:

  1. create ./nixos/users/amr/password.txt and put the login password there.
  2. sync ssh keys
    • create ./home-manager/users/amr/ssh_keys/github and put the private key there (found in bitwarden).
    • create ./home-manager/users/amr/ssh_keys/gitlab_tu_dortmund and put the private key there (found in bitwarden).
  3. sudo nixos-rebuild switch --flake /etc/nixos#amr
  4. nix-shell -p home-manager
  5. home-manager switch --flake /etc/nixos#amr

Note!!

When using the git repo in the /etc/nixos directory, make sure to delete .git and .gitignore. Otherwise, the nix flake ignores files needed in the build process like the private keys and the user password added above.