nixos/home-manager/fred.nix

74 lines
2.4 KiB
Nix
Raw Normal View History

2026-01-20 08:41:53 +00:00
# settings/fred.nix
{ config, pkgs, lib, inputs, ... }:
2026-01-20 08:41:53 +00:00
{
# Define the state version for Home Manager
home.stateVersion = "25.11";
# Packages for user
home.packages = with pkgs; [
#
];
2026-02-24 19:17:42 +00:00
# Allow unfree nix-shell maybe
2026-02-24 19:18:42 +00:00
home.file.".config/nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
2026-01-20 08:41:53 +00:00
# Ensure Ghostty themes directory exists for matugen
home.file.".config/ghostty/themes/.keep".text = "";
# Ghostty config
home.file.".config/ghostty/config".force = true;
home.file.".config/ghostty/config".text = ''
font-family = FiraMono Nerd Font
font-size = 11
font-thicken = true
theme = wallpaper
window-padding-x = 10
window-padding-y = 10
window-padding-balance = true
2026-04-08 20:19:35 +01:00
background-opacity = 0.98
confirm-close-surface = false
gtk-titlebar = false
cursor-style = bar
cursor-style-blink = true
'';
# Matugen config — templates for wallpaper-based color generation
home.file.".config/matugen/config.toml".text = ''
[config]
reload_apps = true
reload_apps_list = { ghostty = "" }
[templates.ghostty]
input_path = "${inputs.self}/templates/ghostty-colors"
output_path = "${config.home.homeDirectory}/.config/ghostty/themes/wallpaper"
[templates.gtk4]
input_path = "${inputs.self}/templates/gtk4-colors.css"
output_path = "${config.home.homeDirectory}/.config/gtk-4.0/colors.css"
[templates.gtk3]
input_path = "${inputs.self}/templates/gtk3-colors.css"
output_path = "${config.home.homeDirectory}/.config/gtk-3.0/colors.css"
[templates.gnome-shell]
input_path = "${inputs.self}/templates/gnome-shell.css"
output_path = "${config.home.homeDirectory}/.local/share/themes/WallpaperShell/gnome-shell/gnome-shell.css"
[templates.zen]
input_path = "${inputs.self}/templates/zen-userChrome.css"
2026-04-13 23:04:54 +01:00
output_path = "${config.home.homeDirectory}/.zen/fraudek5.Default Profile/chrome/userChrome.css"
[templates.vscodium]
input_path = "${inputs.self}/templates/vscodium-colors.json"
output_path = "${config.home.homeDirectory}/.local/share/matugen/vscodium-colors.json"
[templates.recolor-folders]
input_path = "${inputs.self}/templates/recolor-folders.sh"
output_path = "${config.home.homeDirectory}/.local/share/matugen/recolor-folders.sh"
post_hook = "bash ${config.home.homeDirectory}/.local/share/matugen/recolor-folders.sh"
'';
2026-01-20 08:41:53 +00:00
}