This commit is contained in:
Hadi 2024-06-18 12:10:45 +02:00
parent c3b54c538f
commit b536a87854
3 changed files with 20 additions and 19 deletions

View File

@ -1,7 +1,7 @@
[//]: # (Title: Nixy) [//]: # (Title: Nixy)
[//]: # (Description: Nixy is a NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.) [//]: # (Description: Nixy is a Hyprland NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.)
[//]: # (Author: Hadi) [//]: # (Author: Hadi)
[//]: # (Date: 06/17/24) [//]: # (Date: 06/18/24)
<div align="center"> <div align="center">
<img src="https://image.nostr.build/70ebe2b5183879d8c0ffa682cd0089e030ad01909678b242ed86449517eac3a5.png" width="100px" /> <img src="https://image.nostr.build/70ebe2b5183879d8c0ffa682cd0089e030ad01909678b242ed86449517eac3a5.png" width="100px" />
@ -35,16 +35,16 @@
# Nixy # Nixy
**Nixy** is a NixOS configuration with home-manager, secrets and custom theming all in one place. **Nixy** is a Hyprland NixOS configuration with home-manager, secrets and custom theming all in one place.
It's a simple way to manage your system configuration and dotfiles. It's a simple way to manage your system configuration and dotfiles.
## Table of Content ## Table of Content
- [Nixy](#nixy) - [Nixy](#nixy)
- [Table of Content](#table-of-content) - [Table of Content](#table-of-content)
- [Gallery](#gallery) - [Gallery](#gallery)
- [Architecture](#architecture) - [Architecture](#architecture)
- [Installation](#installation) - [Installation](#installation)
- [Documentation](#documentation) - [Documentation](#documentation)
## Gallery ## Gallery
@ -57,10 +57,11 @@ It's a simple way to manage your system configuration and dotfiles.
- 🏠 `home` are the dotfiles and configuration files for the user - 🏠 `home` are the dotfiles and configuration files for the user
- 💻 `hosts` are the system configuration files - 💻 `hosts` are the system configuration files
- `laptop` is mine - 'laptop' is my own configuration for my laptop with nvidia
- `guest` is a template that you can copy and modify for your own system - 'server' is for my nixos server (w/nextcloud, nginx, vaultwarden, ... look `hosts/modules/server`)
- `themes` contains all the themes available (see [THEMES.md](docs/THEMES.md)) - 'guest' is a *template* that you can copy and modify for *your own system*
- `modules` are some nix files that you can import (nvidia, prime, fonts, ...) - 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
- 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
- 🤫 `secrets` are the secrets files encrypted with sops - 🤫 `secrets` are the secrets files encrypted with sops
## Installation ## Installation
@ -69,12 +70,12 @@ It's a simple way to manage your system configuration and dotfiles.
git clone https://github.com/anotherhadi/nixy ~/.config/nixos git clone https://github.com/anotherhadi/nixy ~/.config/nixos
``` ```
- Change the username in the flake.nix file - Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file
- import the guest configuration instead of the `hosts/laptop` one - Add your `hardware-configuration.nix` to your new hosts folder
- import your hardware-configuration.nix into the `hosts/guest` folder - Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing #CHANGEME)
```sh ```sh
sudo nixos-rebuild switch --flake ~/.config/nixos#nixy sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname
``` ```
## Documentation ## Documentation

View File

@ -2,8 +2,8 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../modules/fonts.nix ../modules/fonts.nix
# ../modules/nvidia.nix ../modules/nvidia.nix
# ../modules/prime.nix ../modules/prime.nix
../modules/tuigreet.nix ../modules/tuigreet.nix
./variables.nix ./variables.nix
]; ];

View File

@ -28,6 +28,6 @@
# change the nvim's obsidian configuration if you want to enable that: # change the nvim's obsidian configuration if you want to enable that:
obsidian = false; obsidian = false;
theme = import ../themes/catppuccin.nix; # select your theme here theme = import ../themes/nixy.nix; # select your theme here
}; };
} }