Update home.nix

This commit is contained in:
ediblerope 2025-12-08 12:10:52 +00:00 committed by GitHub
parent e91448fdf3
commit 49fb2fce64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,10 @@
# settings/home.nix # settings/home.nix
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }: # Add lib here!
{ {
# Define the state version for Home Manager # Define the state version for Home Manager
home.stateVersion = "25.11"; home.stateVersion = "25.11";
# --- Packages for the user --- # --- Packages for the user ---
# These are packages installed for the user only, not system-wide.
home.packages = with pkgs; [ home.packages = with pkgs; [
# #
]; ];
@ -32,7 +31,7 @@
picture-uri = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png"; picture-uri = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png";
picture-uri-dark = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png"; picture-uri-dark = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png";
picture-options = "zoom"; picture-options = "zoom";
}; };
# Window manager keybindings # Window manager keybindings
"org/gnome/desktop/wm/keybindings" = { "org/gnome/desktop/wm/keybindings" = {
@ -65,21 +64,20 @@
accel-profile = "flat"; accel-profile = "flat";
}; };
# Rounded Window Corners Reborn extension settings # Rounded Window Corners extension
"org/gnome/shell/extensions/rounded-window-corners-reborn/global-rounded-corner-settings" = { "org/gnome/shell/extensions/rounded-window-corners-reborn/global-rounded-corner-settings" = {
padding = { padding = lib.hm.gvariant.mkDictionaryEntry [
left = 2; [ "left" (lib.hm.gvariant.mkUint32 2) ]
right = 2; [ "right" (lib.hm.gvariant.mkUint32 2) ]
top = 2; [ "top" (lib.hm.gvariant.mkUint32 2) ]
bottom = 2; [ "bottom" (lib.hm.gvariant.mkUint32 2) ]
}; ];
keepRoundedCorners = { keepRoundedCorners = lib.hm.gvariant.mkDictionaryEntry [
maximized = true; [ "maximized" true ]
fullscreen = true; [ "fullscreen" true ]
}; ];
borderRadius = 7; borderRadius = lib.hm.gvariant.mkUint32 7;
smoothing = 0.0; smoothing = 0.0;
borderColor = [0.5 0.5 0.5 1.0]; # Array for the tuple
enabled = true; enabled = true;
}; };
}; };