mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
41 lines
781 B
Markdown
41 lines
781 B
Markdown
# TheaninOS
|
|
|
|
A NixOS based OS you can configure.
|
|
|
|
Rebuild the configuration
|
|
|
|
```sh
|
|
home-manager switch --flake ~/.config/home-manager
|
|
```
|
|
|
|
**Make sure new files are added to git**
|
|
|
|
## Initial Setup on a new machine
|
|
|
|
Enable flakes
|
|
|
|
`configuration.nix`
|
|
|
|
```nix
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
```
|
|
|
|
```sh
|
|
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
|
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
|
|
|
|
git clone git@github.com:Theaninova/home-manager-config.git ~/.config/home-manager
|
|
cd ~/.config/home-manager
|
|
sudo nixos-rebuild switch --flake .#MONSTER
|
|
```
|
|
|
|
After that reload the shell
|
|
|
|
## Updating the system
|
|
|
|
```sh
|
|
# in your config folder
|
|
nix flake update
|
|
sudo nixos-rebuild switch --flake .#
|
|
```
|