From 57cab5fa523133039cf2be511f8fb4083da7bc80 Mon Sep 17 00:00:00 2001
From: Hadi <112569860+anotherhadi@users.noreply.github.com>
Date: Wed, 26 Jun 2024 12:31:58 +0200
Subject: [PATCH] Update
---
README.md | 2 +-
docs/scripts/create_guest_config.sh | 4 +-
hosts/guest/configuration.nix | 5 +-
hosts/guest/home.nix | 102 ++++++++++++++++++++++++++++
4 files changed, 108 insertions(+), 5 deletions(-)
create mode 100644 hosts/guest/home.nix
diff --git a/README.md b/README.md
index 8dbd0af..a93c7ab 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/25/24)
+[//]: # (Date: 06/26/24)
[//]: # (Version: v2.0.1)
diff --git a/docs/scripts/create_guest_config.sh b/docs/scripts/create_guest_config.sh
index 02b97db..2f6835c 100644
--- a/docs/scripts/create_guest_config.sh
+++ b/docs/scripts/create_guest_config.sh
@@ -26,5 +26,5 @@ variables=$(echo "$variables" | sed 's/tailscale = true/tailscale = false/')
echo "$variables" >"$GUEST_CONFIG/variables.nix"
home=$(cat "$LAPTOP_CONFIG/home.nix")
-home=$(echo "$config" | sed 's/\.\/sops.nix/# .\/sops.nix/')
-echo "$home" >"$GUEST_CONFIG/home.nix"
\ No newline at end of file
+home=$(echo "$home" | sed 's/\.\/sops.nix/# .\/sops.nix/')
+echo "$home" >"$GUEST_CONFIG/home.nix"
diff --git a/hosts/guest/configuration.nix b/hosts/guest/configuration.nix
index cb404a3..6227153 100644
--- a/hosts/guest/configuration.nix
+++ b/hosts/guest/configuration.nix
@@ -2,9 +2,10 @@
imports = [
./hardware-configuration.nix
../modules/fonts.nix
- ../modules/nvidia.nix
- ../modules/prime.nix
+ # ../modules/nvidia.nix
+ # ../modules/prime.nix
../modules/tuigreet.nix
+ ../modules/usb.nix
./variables.nix
];
diff --git a/hosts/guest/home.nix b/hosts/guest/home.nix
new file mode 100644
index 0000000..c96eb64
--- /dev/null
+++ b/hosts/guest/home.nix
@@ -0,0 +1,102 @@
+{ pkgs, config, ... }: {
+
+ imports = [
+ ./variables.nix
+
+ # Programs
+ ../../home/programs/btop
+ ../../home/programs/cava
+ ../../home/programs/kitty
+ ../../home/programs/nextcloud
+ ../../home/programs/nvim
+ ../../home/programs/qutebrowser
+ ../../home/programs/spicetify
+ ../../home/programs/zathura
+ ../../home/programs/shell
+ ../../home/programs/git
+
+ # Scripts
+ ../../home/scripts # All scripts
+
+ # System (Desktop environment like stuff)
+ ../../home/system/dunst
+ ../../home/system/gtk
+ ../../home/system/hyprland
+ ../../home/system/waybar
+ ../../home/system/wlogout
+ ../../home/system/wofi
+ ../../home/system/mime
+ ../../home/system/udiskie
+
+ # ./sops.nix # You should probably remove this line
+ ];
+
+ home = {
+ inherit (config.var) username;
+ inherit (config.var) homeDirectory;
+
+ packages = with pkgs; [
+ swappy
+ imv
+ discord
+ obsidian
+ xfce.thunar
+ bitwarden
+ vlc
+ nextcloud-client
+ tailscale
+
+ # Dev
+ go
+ cargo
+ nodejs
+ python3
+ jq
+ git-ignore
+ nurl
+ prefetch-npm-deps
+ figlet
+
+ # Utils
+ fd
+ bc
+ gcc
+ blueman
+ zip
+ unzip
+ xdg_utils
+ wget
+ curl
+ wf-recorder
+ glow
+ nwg-displays
+ wireguard-tools
+ bitwarden-cli
+ optipng
+ pfetch
+ usbutils
+
+ # Just cool
+ peaclock
+ cbonsai
+ pipes
+ cmatrix
+
+ # Backup
+ vscode
+ tor-browser
+ firefox
+ neovide
+ ];
+
+ # Import wallpapers into $HOME/wallpapers
+ file."wallpapers" = {
+ recursive = true;
+ source = ../../home/wallpapers;
+ };
+
+ stateVersion = "24.05";
+ };
+
+ programs.home-manager.enable = true;
+}