205a1ccc8f
- Add prepare-commit-msg git hook that generates conventional commit messages - Modularize fish configuration with separate conf.d files - Convert configuration files from .text to .source format for structured data - Add sops-nix SOPS configuration with explicit secret definitions - Upgrade age identity to single key file management approach - Add system activation script for age key management - Generate .sops.yaml for SOPS creation rules - Restructure README.md with improved table and cleaner formatting - Refactor config files to use pkgs.formats.json/toml generators - Implement YAML format for ashell and walker service configurations - Update SSH config source to use sops secrets - Convert zed and other config files to use structured .source format
61 lines
1.4 KiB
Nix
61 lines
1.4 KiB
Nix
{pkgs, ...}: let
|
|
alacritty-wrapped = pkgs.writeShellScriptBin "alacritty-wayland" ''
|
|
export WAYLAND_DISPLAY="wayland-1"
|
|
export XDG_CURRENT_DESKTOP="Niri"
|
|
export XDG_SESSION_TYPE="wayland"
|
|
exec ${pkgs.alacritty}/bin/alacritty "$@"
|
|
'';
|
|
toTOML = (pkgs.formats.toml {}).generate;
|
|
in {
|
|
users.users.someone.packages = with pkgs; [
|
|
alacritty
|
|
alacritty-wrapped
|
|
];
|
|
|
|
xdg.configFile."alacritty/alacritty.toml".source = toTOML "alacritty.toml" {
|
|
colors = {
|
|
bright = {
|
|
black = "0x928374";
|
|
blue = "0x7daea3";
|
|
cyan = "0x89b482";
|
|
green = "0xa9b665";
|
|
magenta = "0xd3869b";
|
|
red = "0xea6962";
|
|
white = "0xdfbf8e";
|
|
yellow = "0xe3a84e";
|
|
};
|
|
normal = {
|
|
black = "0x665c54";
|
|
blue = "0x7daea3";
|
|
cyan = "0x89b482";
|
|
green = "0xa9b665";
|
|
magenta = "0xd3869b";
|
|
red = "0xea6962";
|
|
white = "0xdfbf8e";
|
|
yellow = "0xe78a4e";
|
|
};
|
|
primary = {
|
|
background = "0x1f0d00";
|
|
foreground = "0xdfbf8e";
|
|
};
|
|
};
|
|
env = {
|
|
EDITOR = "nvim";
|
|
XDG_CURRENT_DESKTOP = "Niri";
|
|
XDG_SESSION_TYPE = "wayland";
|
|
};
|
|
font = {
|
|
size = 13;
|
|
normal = {
|
|
family = "SauceCodePro Nerd Font";
|
|
};
|
|
};
|
|
window = {
|
|
decorations = "full";
|
|
opacity = 1.0;
|
|
};
|
|
terminal.shell.program = "fish";
|
|
scrolling.history = 5000;
|
|
};
|
|
}
|