An opinionated NixOS configuration with Hyprland, featuring: - Modular flake-based architecture - Parameterized user configuration (username, timezone, locale, etc.) - Classical/antiquity theme with Thomas Cole wallpapers - Full Hyprland setup with waybar, rofi, swaync - Custom utility scripts (screenshots, screen recording, WiFi QR) - Neovim with LSP support - Interactive installer for existing NixOS systems - ISO builder for fresh installations Flake outputs: - nixosConfigurations.example - Test configuration - nixosConfigurations.installer - ISO installer - packages.iso - Bootable ISO image - apps.default - Interactive installer - lib.mkHost - Host builder function - templates.default - Starter template Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
83 lines
1.4 KiB
Nix
83 lines
1.4 KiB
Nix
# Rofi application launcher configuration
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
home.file.".config/rofi/config.rasi".text = ''
|
|
configuration {
|
|
modi: "drun,run";
|
|
show-icons: true;
|
|
icon-theme: "Papirus";
|
|
font: "JetBrainsMono Nerd Font 13";
|
|
}
|
|
|
|
* {
|
|
bg: rgba(26, 22, 17, 0.9);
|
|
bg-alt: rgba(45, 38, 32, 0.95);
|
|
fg: #d4c4a8;
|
|
fg-alt: #8b7355;
|
|
accent: #d4a857;
|
|
urgent: #a63d40;
|
|
|
|
background-color: transparent;
|
|
text-color: @fg;
|
|
}
|
|
|
|
window {
|
|
width: 500px;
|
|
background-color: @bg;
|
|
border: 2px solid;
|
|
border-color: rgba(212, 168, 87, 0.5);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
}
|
|
|
|
inputbar {
|
|
background-color: @bg-alt;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin: 0 0 15px 0;
|
|
children: [prompt, entry];
|
|
}
|
|
|
|
prompt {
|
|
text-color: @accent;
|
|
padding: 0 10px 0 0;
|
|
}
|
|
|
|
entry {
|
|
text-color: @fg;
|
|
placeholder: "Search...";
|
|
placeholder-color: @fg-alt;
|
|
cursor-color: @accent;
|
|
}
|
|
|
|
listview {
|
|
lines: 12;
|
|
spacing: 5px;
|
|
scrollbar: false;
|
|
}
|
|
|
|
element {
|
|
padding: 10px 15px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
element selected {
|
|
background-color: rgba(212, 168, 87, 0.2);
|
|
text-color: @accent;
|
|
}
|
|
|
|
element-icon {
|
|
size: 24px;
|
|
padding: 0 10px 0 0;
|
|
}
|
|
|
|
element-text {
|
|
text-color: inherit;
|
|
}
|
|
'';
|
|
}
|