zaneyos/README.md

153 lines
4.5 KiB
Markdown
Raw Normal View History

<div align="center">
## ZaneyOS 🟰 Best ❄️ NixOS Configs
2023-12-13 23:33:53 +01:00
2025-02-17 12:47:40 +01:00
ZaneyOS is a simple way of reproducing my configuration on any NixOS system.
This includes the wallpaper, scripts, applications, config files, and more.
2023-12-13 23:33:53 +01:00
2025-02-17 12:47:40 +01:00
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/demo.png" />
2025-02-17 12:47:40 +01:00
**Inspiration for the Waybar config
[here](https://github.com/justinlime/dotfiles).**
2023-12-13 23:33:53 +01:00
2024-02-18 03:03:15 +01:00
</div>
2025-02-17 12:47:40 +01:00
> **This project has a [Wiki](https://zaney.org/wiki/zaneyos-2.3/). Find out how
> to use ZaneyOS here!** **I have put a lot of effort into the
> [documentation](https://zaney.org/wiki/zaneyos-2.3/) so it should be accurate.
> However, please if you notice that something is wrong with it create an issue
> or reach out to me on Discord.**
#### 🍖 Requirements
2025-02-17 12:47:40 +01:00
- You must be running on NixOS.
2024-05-18 20:48:36 +02:00
- The zaneyos folder (this repo) is expected to be in your home directory.
2025-02-17 12:47:40 +01:00
- Must have installed using GPT & UEFI. Systemd-boot is what is supported, for
GRUB you will have to brave the internet for a how-to. ☺️
- Manually editing your host specific files. The host is the specific computer
your installing on.
#### 🎹 Pipewire & Notification Menu Controls
2025-02-17 12:47:40 +01:00
- We are using the latest and greatest audio solution for Linux. Not to mention
you will have media and volume controls in the notification center available
in the top bar.
#### 🏇 Optimized Workflow & Simple Yet Elegant Neovim
2025-02-17 18:07:22 +01:00
- Using Hyprland for increased elegance, functionality, and effeciency.
2025-02-17 12:47:40 +01:00
- No massive Neovim project here. This is my simple, easy to understand, yet
2025-02-17 18:07:22 +01:00
incredible Neovim setup.
2024-04-04 05:50:35 +02:00
#### 🖥️ Multi Host & User Configuration
2025-02-17 12:47:40 +01:00
- You can define separate settings for different host machines and users.
- Easily specify extra packages for your users in the modules/core/user.nix
file.
- Easy to understand file structure and simple, but encompassing,
configuratiion.
2024-04-04 05:50:35 +02:00
#### 👼 An Incredible Community Focused On Support
2025-02-17 12:47:40 +01:00
- The entire idea of ZaneyOS is to make NixOS an approachable space that is
actually a great community that you want to be in.
- Many people who are patient and happy to spend their free time helping you are
running ZaneyOS. Feel free to reach out on the Discord for any help with
anything.
<div align="center">
2025-02-17 12:47:40 +01:00
Please do yourself a favor and
[read the wiki](https://zaney.org/wiki/zaneyos-2.3/).
</div>
#### 📦 How To Install Packages?
2025-02-17 12:47:40 +01:00
- You can search the [Nix Packages](https://search.nixos.org/packages?) &
[Options](https://search.nixos.org/options?) pages for what a package may be
named or if it has options available that take care of configuration hurdles
you may face.
- To add a package there are the sections for it in `modules/core/packages.nix`
and `modules/core/user.nix`. One is for programs available system wide and the
other for your users environment only.
#### 🙋 Having Issues / Questions?
2025-02-17 12:47:40 +01:00
- Please feel free to raise an issue on the repo, please label a feature request
with the title beginning with [feature request], thank you!
- Contact me on [Discord](https://discord.gg/2cRdBs8) as well, for a potentially
faster response.
### ⬇️ Install
2023-12-15 07:56:25 +01:00
#### 📜 Script:
2025-02-17 12:47:40 +01:00
This is the easiest and recommended way of starting out. The script is not meant
to allow you to change every option that you can in the flake or help you
install extra packages. It is simply here so you can get my configuration
installed with as little chances of breakages and then fiddle to your hearts
content!
Simply copy this and run it:
2024-02-02 08:36:37 +01:00
```
nix-shell -p git curl
```
Then:
```
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
2024-02-12 06:40:37 +01:00
```
#### 🦽 Manual:
Run this command to ensure Git & Vim are installed:
```
nix-shell -p git vim
```
Clone this repo & enter it:
```
git clone https://gitlab.com/zaney/zaneyos.git
cd zaneyos
```
2025-02-17 12:47:40 +01:00
- _You should stay in this folder for the rest of the install_
Create the host folder for your machine(s)
```
cp -r hosts/default hosts/<your-desired-hostname>
```
2025-02-17 12:47:40 +01:00
**🪧🪧🪧 Edit `hosts/<your-desired-hostname>/variables.nix` 🪧🪧🪧**
Generate your hardware.nix like so:
```
nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix
```
2023-12-15 07:56:25 +01:00
2025-02-17 12:47:40 +01:00
Run this to enable flakes and install the flake replacing `profile` with any of
these options:
- amd
- nvidia
- nvidia-laptop
- intel
- vm
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
```
NIX_CONFIG="experimental-features = nix-command flakes"
sudo nixos-rebuild switch --flake .#profile
2024-01-09 23:50:24 +01:00
```
2023-12-15 07:56:25 +01:00
2025-02-17 12:47:40 +01:00
Now when you want to rebuild the configuration you have access to an alias `fr`
that will rebuild the flake!
2023-12-15 07:56:25 +01:00
Hope you enjoy!