zaneyos/README.md

49 lines
2.4 KiB
Markdown
Raw Normal View History

2023-12-13 23:33:53 +01:00
# ZaneyOS 🟰 Best ❄️ NixOS Configs
2023-12-15 07:56:25 +01:00
ZaneyOS is my production machines config files.
2023-12-13 23:33:53 +01:00
2023-12-14 00:09:39 +01:00
![](demo.jpg)
2023-12-13 23:33:53 +01:00
2023-12-15 07:56:25 +01:00
## What Is NixOS
2024-01-09 23:50:24 +01:00
NixOS is a Linux distribution known for its unique approach to package management and system configuration. It uses the Nix package manager, which is based on a purely functional approach to managing software and system configurations.
In NixOS, the entire operating system configuration is described declaratively in a configuration file, allowing for reproducibility and easy rollbacks. This means that changes to the system can be tracked and reversed, making it robust and reliable for system administrators and developers.
2023-12-15 07:56:25 +01:00
## Why Choose NixOS
2024-01-09 23:50:24 +01:00
Choosing NixOS often depends on specific needs and preferences. Here are some reasons why people opt for NixOS:
### Declarative Configuration
NixOS employs a declarative approach to system configuration. This means the entire system configuration is defined in a single file, making it reproducible and easier to manage. Changes are tracked and can be rolled back if needed.
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
### Functional Package Management
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
The Nix package manager ensures that each package and its dependencies are isolated and managed separately. This prevents conflicts between different versions of software and enables easy rollbacks to previous versions.
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
### Reproducibility
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
NixOS allows for consistent and reproducible environments, critical in development, testing, and deployment scenarios. It's particularly valuable in DevOps and CI/CD pipelines where consistent environments are essential.
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
### Multiple Environments and Rollbacks
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
With NixOS, it's possible to have multiple versions of the same software installed simultaneously without conflicts. This flexibility is especially useful for developers or those requiring different versions of software for various projects.
### Community and Customization
NixOS has an active community that contributes to its growth, sharing configurations, and offering support. Its customizable nature allows users to tailor their systems to their needs.
# Steps To Reproduce My System
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
Clone this repo, replace your hardware-configuration.nix with the one inside the workstation folder, enable flakes in your default configuration.nix, then go into repo folder and run this command:
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
```
sudo nixos-rebuild switch --flake .#workstation
```
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
Replace #workstation with laptop to switch to my Intel Whitebook laptop's configuration.
2023-12-15 07:56:25 +01:00
Hope you enjoy!