Files
nixos/config.nix
T
kenji f8e843ec94 feat: add global theme mode and Yazi shortcut
- Added theme.mode to config.nix for global dark/light mode control.
- Updated Matugen to apply GTK dark mode preferences based on the global theme.
- Added a Hyprland bind (SUPER+X) to launch Yazi via uwsm.
2026-01-16 14:38:41 -06:00

110 lines
2.5 KiB
Nix

{
hakase = {
myConfig = {
font = {
monospace = "MonoLisa";
monospaceScript = "MonoLisa Italic @ss02=1";
sans = "Sans";
};
nixos = {
username = "kenji";
hostname = "hakase";
timezone = "America/Chicago";
};
git = {
username = "kenji";
email = "kenji@hakase";
defaultBranch = "master";
};
theme = {
mode = "dark";
};
terminal = {
default = "ghostty";
font = "MonoLisa";
aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase";
};
};
hyprland = {
monitors = [
"DP-1,highres@165,0x1080,1,vrr,0"
"DP-2, highres@165,760x0,1"
"HDMI-A-1, highres@highrr@120, 3440x1440, 1.6"
];
wallpaper = "firewatch.png";
};
firefox = {
bookmarks = [
{
name = "Home Manager";
url = "https://mynixos.com/home-manager/options/programs";
}
{
name = "YouTube";
url = "https://youtube.com";
}
{
name = "Nur";
url = "https://nur.nix-community.org/repos";
}
];
newtabpage = [
{
title = "Dashboard";
url = "https://dash.sakamoto.dev";
}
];
};
};
};
macbook = {
myConfig = {
font = {
monospace = "MonoLisa";
monospaceScript = "MonoLisa Italic @ss02=1";
sans = "Sans";
};
nixos = {
username = "kenji";
hostname = "macbook";
timezone = "America/Chicago";
};
git = {
username = "kenji";
email = "kenji@macbook";
defaultBranch = "master";
};
theme = {
mode = "dark";
};
terminal = {
default = "ghostty";
font = "MonoLisa";
aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook";
};
};
hyprland = {
# M1 Pro/Max/Air screens are usually built-in eDP-1.
# HiDPI scale 2.0 is safe for Retina.
monitors = [
"eDP-1, highres, auto, 2"
];
wallpaper = "firewatch.png";
};
firefox = {
bookmarks = [
{
name = "Asahi Linux";
url = "https://asahilinux.org/";
}
];
newtabpage = [];
};
};
};
}