Regenerated

This commit is contained in:
2026-03-24 19:47:20 +00:00
parent 104136f827
commit 03bfd31869
22 changed files with 827 additions and 0 deletions
@@ -0,0 +1,31 @@
{ lib, config, pkgs, flakeRoot, ... }:
let
# Default username fallback
username = config.defaultUser or "henrov";
# Path to the starship config in assets
starshipConfSrc = "${flakeRoot}/assets/traveldroid/conf/starship.toml";
in
{
#################################
# Enable Starship system-wide
#################################
environment.systemPackages = [ pkgs.starship ];
#################################
# Home Manager user configuration
#################################
_module.args.hmUsers = {
${username} = {
programs.starship = {
enable = true;
};
# Copy the starship.toml from assets to ~/.config/starship.toml
home.file = {
".config/starship.toml" = { source = starshipConfSrc; };
};
};
};
}
@@ -0,0 +1,33 @@
{ config, pkgs, lib, ... }:
{
#################################
# Zsh configuration
#################################
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
# Oh My Zsh integration
ohMyZsh = {
enable = true;
theme = ""; # default theme, you can override per user
plugins = [
"git"
"sudo"
"extract"
"colored-man-pages"
"command-not-found"
"history"
"docker"
"kubectl"
];
};
# Uncomment if you want additional features
# autosuggestion.enable = true;
# autocd = true;
# dotDir = "${config.xdg.configHome}/zsh";
};
}
@@ -0,0 +1,45 @@
{ config, pkgs, lib, ... }:
let
tuigreetBin = "${pkgs.tuigreet}/bin/tuigreet";
sessionsDir = "${pkgs.hyprland}/share/wayland-sessions";
in
{
#################################
# Greetd (tuigreet)
#################################
services.greetd = {
enable = true;
settings = {
default_session = {
command = ''
${tuigreetBin} \
--time \
--remember \
--remember-session \
--sessions ${sessionsDir} \
--cmd "start-hyprland"
'';
user = "greeter";
};
};
};
#################################
# Fix TTY / boot noise issues
#################################
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
# Prevent boot log spam on tty
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}