This commit is contained in:
Hadi 2024-06-26 12:31:58 +02:00
parent 3cfb9e733a
commit 57cab5fa52
4 changed files with 108 additions and 5 deletions

View File

@ -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)
<div align="center">

View File

@ -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"
home=$(echo "$home" | sed 's/\.\/sops.nix/# .\/sops.nix/')
echo "$home" >"$GUEST_CONFIG/home.nix"

View File

@ -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
];

102
hosts/guest/home.nix Normal file
View File

@ -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;
}