Adapting theme.css
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||
let
|
||||
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
||||
in
|
||||
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Copy the actual kitty.conf (not a symlink)
|
||||
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
||||
(builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf")
|
||||
];
|
||||
# Copy the main kitty.conf
|
||||
xdg.configFile."kitty/kitty.conf".text = builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
||||
|
||||
# Copy the Stylix-generated Catppuccin Mocha theme
|
||||
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{ pkgs, flakeRoot, ... }:
|
||||
|
||||
{
|
||||
programs.stylix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Stylix GTK target
|
||||
stylix.targets.gtk.enable = true;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
nix.settings = {
|
||||
extra-experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Example for terminal (NVF = Neovim/terminal flavor)
|
||||
stylix.targets.nvf.enable = true;
|
||||
# Optional: feh wallpaper integration
|
||||
stylix.targets.feh.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user