Skip to content

Commit 9bc13c6

Browse files
committed
ref: refactored variables.nix and added waybarTheme option
1 parent fee63a5 commit 9bc13c6

File tree

4 files changed

+30
-23
lines changed

4 files changed

+30
-23
lines changed

hosts/Default/variables.nix

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
{
2-
# User Configuration
3-
username = "sijanthapa"; # Your username (auto-set with install.sh, live-install.sh, rebuild)
4-
desktop = "hyprland"; # Options: hyprland, i3-gaps, gnome, plasma6
5-
terminal = "kitty"; # Options: kitty, alacritty
6-
editor = "nixvim"; # Options: nixvim, vscode, helix, doom-emacs, nvchad, neovim
7-
browser = "firefox"; # Options: firefox, floorp, zen
8-
tuiFileManager = "yazi"; # Options: yazi, lf
9-
sddmTheme = "astronaut"; # Options: astronaut, black_hole, purple_leaves, jake_the_dog, hyprland_kath
10-
defaultWallpaper = "kurzgesagt.webp"; # to change wallpaper: SUPER + SHIFT + W
11-
hyprlockWallpaper = "evening-sky.webp"; # See modules/themes/wallpapers for options
12-
shell = "zsh"; # Options: zsh, bash
13-
games = true; # Whether to enable the gaming module
2+
username = "sijanthapa"; # auto-set with install.sh, live-install.sh, and rebuild scripts.
143

15-
# Hardware Configuration
16-
videoDriver = "intel"; # CRITICAL: Choose your GPU driver (nvidia, amdgpu, intel)
17-
hostname = "NixOS"; # Your system hostname
4+
# Desktop Environment
5+
desktop = "hyprland"; # hyprland, i3-gaps, gnome, plasma6
6+
7+
# Theme & Appearance
8+
waybarTheme = "stylish"; # stylish, minimal
9+
sddmTheme = "astronaut"; # astronaut, black_hole, purple_leaves, jake_the_dog, hyprland_kath
10+
defaultWallpaper = "kurzgesagt.webp"; # Change with SUPER + SHIFT + W
11+
hyprlockWallpaper = "evening-sky.webp";
12+
13+
# Default Applications
14+
terminal = "kitty"; # kitty, alacritty
15+
editor = "nixvim"; # nixvim, vscode, helix, doom-emacs, nvchad, neovim
16+
browser = "zen"; # zen, firefox, floorp
17+
tuiFileManager = "yazi"; # yazi, lf
18+
shell = "zsh"; # zsh, bash
19+
20+
# Hardware
21+
hostname = "NixOS";
22+
videoDriver = "intel"; # nvidia, amdgpu, intel
23+
games = true;
1824

1925
# Localization
20-
clock24h = true; # 24H or 12H clock in waybar
21-
locale = "en_US.UTF-8"; # System locale
22-
timezone = "Asia/Kathmandu"; # Your timezone
23-
kbdLayout = "us"; # Keyboard layout
24-
kbdVariant = ""; # Keyboard variant (can be empty)
25-
consoleKeymap = "us"; # TTY keymap
26-
}
26+
timezone = "Asia/Kathmandu";
27+
locale = "en_US.UTF-8";
28+
clock24h = true;
29+
kbdLayout = "us";
30+
kbdVariant = "";
31+
consoleKeymap = "us";
32+
}

modules/desktop/hyprland/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
}:
77
let
88
inherit (import ../../../hosts/${host}/variables.nix)
9+
waybarTheme
910
browser
1011
terminal
1112
tuiFileManager
@@ -17,7 +18,7 @@ in
1718
{
1819
imports = [
1920
../../themes/Catppuccin # Catppuccin GTK and QT themes
20-
./programs/waybar
21+
./programs/waybar/${waybarTheme}.nix
2122
./programs/wlogout
2223
./programs/rofi
2324
./programs/hypridle
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)