From 87ae5dd36f4ec5a4496b1f7308b69a38622077c6 Mon Sep 17 00:00:00 2001
From: Hadi <112569860+anotherhadi@users.noreply.github.com>
Date: Mon, 24 Jun 2024 00:10:35 +0200
Subject: [PATCH] Update
---
README.md | 5 ++++-
docs/src/README_template.md | 3 +++
home/laptop.nix | 2 +-
hosts/server/modules/www/home.anotherhadi.com.nix | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 96e413f..b85bbd7 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
[//]: # (Title: Nixy)
[//]: # (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/23/24)
+[//]: # (Date: 06/24/24)

@@ -69,6 +69,9 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
- Add your `hardware-configuration.nix` to your new host's folder
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
+> ![NOTE]
+> When you add new files, don't forget to run `git add .` to add them to the git repository
+
```sh
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
```
diff --git a/docs/src/README_template.md b/docs/src/README_template.md
index 43aa5f2..1d0c818 100644
--- a/docs/src/README_template.md
+++ b/docs/src/README_template.md
@@ -33,6 +33,9 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
- Add your `hardware-configuration.nix` to your new host's folder
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
+> ![NOTE]
+> When you add new files, don't forget to run `git add .` to add them to the git repository
+
```sh
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
```
diff --git a/home/laptop.nix b/home/laptop.nix
index 57e9822..7de4953 100644
--- a/home/laptop.nix
+++ b/home/laptop.nix
@@ -1,7 +1,7 @@
{ pkgs, config, ... }: {
imports = [
- ../hosts/laptop/variables.nix
+ ../hosts/laptop/variables.nix # CHANGEME, replace with your host
# Programs
./programs/btop
diff --git a/hosts/server/modules/www/home.anotherhadi.com.nix b/hosts/server/modules/www/home.anotherhadi.com.nix
index 25a1b88..ddbae07 100644
--- a/hosts/server/modules/www/home.anotherhadi.com.nix
+++ b/hosts/server/modules/www/home.anotherhadi.com.nix
@@ -78,7 +78,7 @@ let
},
{
"title": "Adguard Home",
- "url": "http://jack:3001",
+ "url": "http://192.168.2.24:3001",
"icon": ""
},
{