2023-07-15 08:51:36 +00:00
|
|
|
# this file configures preferences per program, without actually enabling any programs.
|
|
|
|
# the goal is to separate the place where we decide *what* to use (i.e. `sane.programs.firefox.enable = true` -- at the toplevel)
|
|
|
|
# from where we specific how that thing should behave *if* it's in use.
|
2023-07-21 21:28:26 +00:00
|
|
|
#
|
|
|
|
# NixOS backgrounds:
|
|
|
|
# - <https://github.com/NixOS/nixos-artwork>
|
2023-07-22 10:56:06 +00:00
|
|
|
# - <https://github.com/NixOS/nixos-artwork/issues/50> (colorful; unmerged)
|
|
|
|
# - <https://github.com/NixOS/nixos-artwork/pull/60/files> (desktop-oriented; clean; unmerged)
|
2023-07-21 21:28:26 +00:00
|
|
|
# - <https://itsfoss.com/content/images/2023/04/nixos-tutorials.png>
|
2023-07-15 08:51:36 +00:00
|
|
|
|
2023-07-24 03:33:50 +00:00
|
|
|
{ lib, pkgs, sane-lib, ... }:
|
2023-05-23 05:22:17 +00:00
|
|
|
{
|
2023-07-15 08:51:36 +00:00
|
|
|
sane.programs.firefox.config = {
|
|
|
|
# compromise impermanence for the sake of usability
|
|
|
|
persistCache = "private";
|
|
|
|
persistData = "private";
|
|
|
|
|
|
|
|
# i don't do crypto stuff on moby
|
|
|
|
addons.ether-metamask.enable = false;
|
2023-07-18 20:06:36 +00:00
|
|
|
# sidebery UX doesn't make sense on small screen
|
|
|
|
addons.sidebery.enable = false;
|
2023-07-15 08:51:36 +00:00
|
|
|
};
|
2023-09-07 08:54:43 +00:00
|
|
|
sane.programs.swaynotificationcenter.config = {
|
|
|
|
backlight = "backlight"; # /sys/class/backlight/*backlight*/brightness
|
|
|
|
};
|
2023-07-15 08:51:36 +00:00
|
|
|
|
2024-03-06 05:01:45 +00:00
|
|
|
sane.programs.alacritty.config.fontSize = 9;
|
|
|
|
|
2024-03-01 04:38:26 +00:00
|
|
|
sane.programs.sway.config = {
|
|
|
|
font = "pango:monospace 10";
|
|
|
|
mod = "Mod1"; # prefer Alt
|
|
|
|
workspace_layout = "tabbed";
|
|
|
|
};
|
|
|
|
|
2024-03-01 15:25:42 +00:00
|
|
|
sane.programs.waybar.config = {
|
|
|
|
fontSize = 14;
|
|
|
|
height = 26;
|
|
|
|
persistWorkspaces = [ "1" "2" "3" "4" "5" ];
|
|
|
|
modules.media = false;
|
|
|
|
modules.network = false;
|
|
|
|
modules.perf = false;
|
|
|
|
modules.windowTitle = false;
|
|
|
|
# TODO: show modem state
|
|
|
|
};
|
2023-05-23 05:22:17 +00:00
|
|
|
}
|