Regenerated

This commit is contained in:
2026-03-26 18:36:52 +00:00
parent 5da1502f8f
commit 1471b4efa5
20 changed files with 2761 additions and 1971 deletions
@@ -48,8 +48,8 @@ let
];
# Emacs config files
earlyInitFile = "${flakeRoot}/assets/traveldroid/conf/emacs/early-init.el";
initFile = "${flakeRoot}/assets/traveldroid/conf/emacs/init.el";
earlyInitFile = "${flakeRoot}/generated/.config/emacs/early-init.el";
initFile = "${flakeRoot}/generated/.config/emacs/init.el";
in
{
@@ -1,3 +1,55 @@
#productivity
todoist
# browsers
brave
chromium
# utils
git
direnv
ripgrep
wget
kdePackages.kdeconnect-kde
_1password-gui
tree
gparted
file
htop
btop
bat
wev
solaar
baobab
duf
zed-editor
eza
z-lua
qdirstat
# office
obsidian
onlyoffice-desktopeditors
# development
postman
tea
#jetbrains.pycharm
python3
# communication
nextcloud-client
nextcloud-talk-desktop
signal-desktop
openssl
# multimedia
audacity
handbrake
spotify
vlc
{ lib, pkgs, config, flakeRoot... }:
let
@@ -10,7 +62,7 @@ let
#################################
# Paths to assets
#################################
assetPath = "${flakeRoot}/.config/kitty";
assetPath = "${flakeRoot}/generated/.config/kitty";
programFiles = builtins.readDir assetPath;
# Convert asset files into a nix attribute set
@@ -4,7 +4,7 @@ let
#################################
# Read package list from config file
#################################
packagesConfPath = "${flakeRoot}/assets/traveldroid/conf/packages.conf";
packagesConfPath = "${flakeRoot}/generated/.config/packages.conf";
raw = builtins.readFile packagesConfPath;
rawLines = lib.splitString "\n" raw;
@@ -3,7 +3,7 @@
let
programName = "wofi";
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/assets/traveldroid/conf/${programName}";
assetPath = "${flakeRoot}/generated/.config/${programName}";
# Read all files in the asset directory if it exists
assetFiles =
@@ -1,10 +1,17 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
in
{
programs.zsh = {
enable = true;
enableCompletion = true;
# autocd = true;
# dotDir = "${config.xdg.configHome}/zsh";
# Set Zsh dotfiles location
dotDir = "${config.xdg.configHome}/zsh";
ohMyZsh = {
enable = true;
theme = "";
@@ -19,7 +26,15 @@
"kubectl"
];
};
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
# Load your generated .zshrc if it exists
extraConfig = ''
if [ -f "${generatedZsh}" ]; then
source "${generatedZsh}"
fi
'';
};
}
@@ -2,7 +2,7 @@
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/assets/traveldroid/conf/hypr/";
assetPath = "${flakeRoot}/generated/.config/hypr/";
# Read all files in the asset directory
assetFiles = builtins.attrNames (builtins.readDir assetPath);
@@ -4,7 +4,7 @@ let
username = config.defaultUser or "henrov";
moduleName = "stylix";
assetPath = "${flakeRoot}/assets/traveldroid/conf/${moduleName}";
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
assetFiles = builtins.attrNames (builtins.readDir assetPath);
# Same pattern as hyprland.nix (IMPORTANT)
@@ -3,7 +3,7 @@
let
# Use the config option defaultUser directly, fallback to "henrov"
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/assets/traveldroid/conf/waybar";
assetPath = "${flakeRoot}/generated/.config/waybar";
in
{
# Install Waybar system-wide