Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexwaibel/nixos

My personal nixos config.
https://github.com/alexwaibel/nixos

Last synced: 28 days ago
JSON representation

My personal nixos config.

Awesome Lists containing this project

README

        

# nixos
My personal nixos config using [flakes](https://nixos.wiki/wiki/Flakes) and [home-manager](https://nix-community.github.io/home-manager/)

# Setup (installing fresh nixos)
1. `cd ~/.config`
2. Clone the repo. You can use `nix-shell -p git` to launch a shell with `git` installed
3. `sudo cp -r ~/.config/nixos/* /mnt/etc/nixos/`
4. `sudo nixos-install`. During install you'll be prompted to set an admin password
5. `reboot`
6. Use the admin to log in, either directly or by SSH into the `alex` user and running `su`
7. Set `alex` user password with `password alex`

# Setup (existing nixos machine)
1. `cd ~/.config`
2. Clone the repo. You can use `nix-shell -p git` to launch a shell with `git` installed
3. `sudo ln -s ~/.config/nixos /etc/nixos`
4. `sudo nixos-rebuild switch`