From b536a87854ce0653667d9a0b3a0acb03cafef390 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 18 Jun 2024 12:10:45 +0200 Subject: [PATCH] Update --- README.md | 33 +++++++++++++++++---------------- hosts/guest/configuration.nix | 4 ++-- hosts/guest/variables.nix | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8e2282c..f7b0295 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [//]: # (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) -[//]: # (Date: 06/17/24) +[//]: # (Date: 06/18/24)
@@ -35,16 +35,16 @@ # 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. ## Table of Content -- [Nixy](#nixy) - - [Table of Content](#table-of-content) - - [Gallery](#gallery) - - [Architecture](#architecture) - - [Installation](#installation) +- [Nixy](#nixy) + - [Table of Content](#table-of-content) + - [Gallery](#gallery) + - [Architecture](#architecture) + - [Installation](#installation) - [Documentation](#documentation) ## 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 - 💻 `hosts` are the system configuration files - - `laptop` is mine - - `guest` is a template that you can copy and modify for your own system - - `themes` contains all the themes available (see [THEMES.md](docs/THEMES.md)) - - `modules` are some nix files that you can import (nvidia, prime, fonts, ...) + - 'laptop' is my own configuration for my laptop with nvidia + - 'server' is for my nixos server (w/nextcloud, nginx, vaultwarden, ... look `hosts/modules/server`) + - 'guest' is a *template* that you can copy and modify for *your own system* + - '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 ## 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 ``` -- Change the username in the flake.nix file -- import the guest configuration instead of the `hosts/laptop` one -- import your hardware-configuration.nix into the `hosts/guest` folder +- Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file +- Add your `hardware-configuration.nix` to your new hosts folder +- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing #CHANGEME) ```sh -sudo nixos-rebuild switch --flake ~/.config/nixos#nixy +sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname ``` ## Documentation diff --git a/hosts/guest/configuration.nix b/hosts/guest/configuration.nix index 5c182b1..c3a6be7 100644 --- a/hosts/guest/configuration.nix +++ b/hosts/guest/configuration.nix @@ -2,8 +2,8 @@ imports = [ ./hardware-configuration.nix ../modules/fonts.nix - # ../modules/nvidia.nix - # ../modules/prime.nix + ../modules/nvidia.nix + ../modules/prime.nix ../modules/tuigreet.nix ./variables.nix ]; diff --git a/hosts/guest/variables.nix b/hosts/guest/variables.nix index 5bf801f..4f240f5 100644 --- a/hosts/guest/variables.nix +++ b/hosts/guest/variables.nix @@ -28,6 +28,6 @@ # change the nvim's obsidian configuration if you want to enable that: obsidian = false; - theme = import ../themes/catppuccin.nix; # select your theme here + theme = import ../themes/nixy.nix; # select your theme here }; }