Regenerated

This commit is contained in:
2026-03-22 15:02:37 +00:00
parent 2e75f42767
commit 2f8f61e553
32 changed files with 8 additions and 1569 deletions
@@ -1,36 +0,0 @@
{ lib, pkgs, config, ... }:
let
username = config.defaultUser or "henrov";
moduleName = "kitty";
# Paths and files
assetPath = ../../../assets/system/conf/${moduleName};
programFiles = builtins.readDir assetPath;
files = lib.genAttrs (builtins.attrNames programFiles) (name: {
src = "${assetPath}/${name}";
});
in
{
# Install kitty system-wide
environment.systemPackages = [ pkgs.kitty ];
# Home Manager user-specific configuration
_module.args.hmUsers = {
${username} = {
programs.kitty.enable = true;
# Extra user config snippet
programs.kitty.extraConfig = ''
# Include the Catppuccin-Mocha theme
include themes/Catppuccin-Mocha.conf
'';
# Copy all asset files into ~/.config/kitty/
home.file = lib.mkMerge (
map (name: { ".config/${moduleName}/${name}" = { source = files.${name}.src; }; })
(builtins.attrNames files)
);
};
};
}
@@ -1,26 +0,0 @@
{ lib, config, pkgs, ... }:
let
username = config.defaultUser or "henrov";
# Paths
starshipAssets = ../../../assets/system/conf/starship.toml;
in
{
# Install Starship system-wide
environment.systemPackages = [
pkgs.starship
];
# Home Manager user settings
_module.args.hmUsers = {
${username} = {
home.packages = [
pkgs.starship
];
# Copy the config into ~/.config
home.file.".config/starship.toml".source = starshipAssets;
};
};
}
@@ -1,16 +0,0 @@
{ lib, pkgs, config, ... }:
{
################################################
# Install Zsh and Oh-My-Zsh system-wide
################################################
environment.systemPackages = [
pkgs.zsh
pkgs.oh-my-zsh
];
################################################
# Make Zsh the default shell for all users (optional)
################################################
users.defaultUserShell = pkgs.zsh;
}