rename shared to modules

This commit is contained in:
Hadi 2024-06-18 09:21:14 +02:00 committed by GitHub
parent d3e6730df0
commit 2ccd17867f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 23 additions and 23 deletions

View File

@ -40,11 +40,11 @@ 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
@ -60,7 +60,7 @@ It's a simple way to manage your system configuration and dotfiles.
- `laptop` is mine - `laptop` is mine
- `guest` is a template that you can copy and modify for your own system - `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)) - `themes` contains all the themes available (see [THEMES.md](docs/THEMES.md))
- `shared` are some nix files that you can import (nvidia, prime, fonts, ...) - `modules` are some nix files 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

View File

@ -1,7 +1,7 @@
# 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
@ -19,10 +19,10 @@ 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 my own configuration for my laptop with nvidia - 'laptop' is my own configuration for my laptop with nvidia
- 'server' is for my nixos server - 'server' is for my nixos server (w/nextcloud, nginx, vaultwarden, ...)
- 'guest' is a *template* that you can copy and modify for *your own system* - '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)) - 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
- 'shared' are some nix modules that you can import (nvidia, prime, fonts, ...) - '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

View File

@ -1,5 +1,5 @@
[//]: # (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: {date}) [//]: # (Date: {date})

View File

@ -1,10 +1,10 @@
{ pkgs, config, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../shared/fonts.nix ../modules/fonts.nix
# ../shared/nvidia.nix # ../modules/nvidia.nix
# ../shared/prime.nix # ../modules/prime.nix
../shared/tuigreet.nix ../modules/tuigreet.nix
./variables.nix ./variables.nix
]; ];

View File

@ -1,5 +1,5 @@
{ config, ... }: { { config, ... }: {
imports = [ ../shared/variables-config.nix ]; imports = [ ../modules/variables-config.nix ];
config.var = { config.var = {
hostname = "nixy"; hostname = "nixy";

View File

@ -1,10 +1,10 @@
{ pkgs, config, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../shared/fonts.nix ../modules/fonts.nix
../shared/nvidia.nix ../modules/nvidia.nix
../shared/prime.nix ../modules/prime.nix
../shared/tuigreet.nix ../modules/tuigreet.nix
./variables.nix ./variables.nix
]; ];

View File

@ -1,5 +1,5 @@
{ config, ... }: { { config, ... }: {
imports = [ ../shared/variables-config.nix ]; imports = [ ../modules/variables-config.nix ];
config.var = { config.var = {
hostname = "nixy"; hostname = "nixy";

View File

@ -2,8 +2,8 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./variables.nix ./variables.nix
../shared/openssh.nix ../modules/openssh.nix
../shared/nginx.nix ../modules/nginx.nix
]; ];
# Bootloader. # Bootloader.

View File

@ -1,5 +1,5 @@
{ config, ... }: { { config, ... }: {
imports = [ ../shared/variables-config.nix ]; imports = [ ../modules/variables-config.nix ];
config.var = { config.var = {
hostname = "jack-nixos"; hostname = "jack-nixos";