Files
nix/home/desktop/default.nix
T
Miguel Palhas 49a137bc86 gnome
2025-03-14 16:37:44 +00:00

101 lines
1.9 KiB
Nix

{
inputs,
lib,
pkgs,
config,
outputs,
...
}:
{
imports = [
inputs.nix-colors.homeManagerModule
inputs.nixvim.homeManagerModules.nixvim
../common/programs/default.nix
../common/programs/desktop
../common/programs/hyprland
../common/programs/gnome-shell
../common/programs/kitty.nix
../common/programs/ghostty.nix
../common/programs/syncthing.nix
../common/programs/gpg.nix
../common/features/xdg.nix
../common/features/bluetooth.nix
../common/features/ledger.nix
../common/features/unity.nix
./monitors.nix
];
home.sessionVariables = {
LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland";
GDM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
};
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
# ethui-dev
"workspace 1, class:ethui"
"float, class:ethui"
"move 100%-800 100%-800, class:ethui"
"noinitialfocus, class:ethui"
];
env = [
"GDK_SCALE, 2"
];
render = {
explicit_sync = 2;
explicit_sync_kms = 0;
direct_scanout = true;
};
opengl = {
nvidia_anti_flicker = 0;
force_introspection = 2;
};
misc = {
vfr = 0;
};
debug = {
damage_tracking = 0;
};
};
programs.hyprpanel.layout = {
"bar.layouts" = {
"1" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
};
};
programs.kitty.settings.font_size = 12;
home = {
username = lib.mkDefault "naps62";
stateVersion = lib.mkDefault "24.05";
};
}