deleted generated files

This commit is contained in:
2026-03-19 11:36:58 +00:00
parent 1150de4cba
commit f88f998a2a
32 changed files with 5 additions and 1433 deletions
@@ -1,27 +0,0 @@
{ lib, ... }:
{
flake.nixosModules.kitty = { config, pkgs, lib, ... }:
let
kittyConf = ./assets/system/conf/kitty/kitty.conf;
kittyTheme = ./assets/system/conf/kitty/Catppuccin-Mocha.conf;
username = "henrov";
in
{
options.mySystem.terminals.kitty.enable =
lib.mkEnableOption "Enable Kitty terminal";
config = lib.mkIf (config.mySystem.terminals.kitty.enable or false) {
home-manager.users.${username} = {
programs.kitty.enable = true;
xdg.configFile."kitty/kitty.conf".source = kittyConf;
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = kittyTheme;
};
};
};
}
@@ -1,32 +0,0 @@
{ lib, ... }:
let
# Path to your Starship config inside the flake
starshipAssets = ../../../assets/system/conf/starship.toml;
# Read and parse the TOML file as a symbolic value
starshipConfig = lib.importTOML starshipAssets;
# Toggle on/off
enableStarship = true;
in
{
# Declare a top-level module option
options.starship = {
enable = lib.mkEnableOption "Enable Starship prompt";
configFiles = lib.mkOption {
type = lib.types.attrsOf lib.types.any;
default = {};
description = "Symbolic Starship configuration files";
};
};
# Populate the option safely
config = lib.mkIf enableStarship {
starship.enable = true;
starship.configFiles = {
"starship.toml" = starshipConfig;
assetsDir = ../../../assets/system/conf;
};
};
}