nixos/home-manager/fred.nix
rope e3fb0de10c fix 26.05 evaluation warnings
wineWowPackages → wineWow64Packages,
environmentFile → environmentFiles (list),
gtk.gtk4.theme = null for all hosts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-30 16:46:18 +01:00

52 lines
1.3 KiB
Nix

# home-manager/fred.nix
{ config, pkgs, lib, inputs, osConfig, ... }:
let
isDesktop = lib.elem osConfig.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ];
in
{
home.stateVersion = "25.11";
gtk.gtk4.theme = null;
home.packages = with pkgs; [
#
];
home.file.".config/nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
# Wallpaper source — consumed by stylix's image option (set in
# settings/stylix.nix) and by hyprpaper at session start.
home.file.".local/share/backgrounds/wallpaper.png".source =
"${inputs.self}/walls/wallpaper.png";
# btop — stylix's btop target writes the colour theme; we keep our
# non-colour preferences here.
programs.btop = {
enable = true;
settings = {
theme_background = false;
vim_keys = false;
};
};
# Ghostty — stylix's ghostty target writes the colour theme.
programs.ghostty = lib.mkIf isDesktop {
enable = true;
settings = {
font-family = "FiraMono Nerd Font";
font-size = 11;
font-thicken = true;
window-padding-x = 10;
window-padding-y = 10;
window-padding-balance = true;
background-opacity = 0.98;
confirm-close-surface = false;
gtk-titlebar = false;
gtk-single-instance = true;
cursor-style = "bar";
cursor-style-blink = true;
};
};
}