Update home.nix

This commit is contained in:
ediblerope 2025-12-05 19:06:47 +00:00 committed by GitHub
parent 95a1db8ecd
commit 4a2e209240
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,8 @@
# settings/home.nix
{ config, pkgs, ... }:
{
# Define the state version for Home Manager
home.stateVersion = "25.11"; # Use your current NixOS version or a recent one
home.stateVersion = "25.11";
# --- Packages for the user ---
# These are packages installed for the user only, not system-wide.
@ -11,6 +10,12 @@
#
];
# --- Download wallpaper to home directory ---
home.file.".local/share/backgrounds/wallpaper.jpg".source = pkgs.fetchurl {
url = "https://share.nordhammer.it/api/shares/KCkDFACI/files/ffd480b9-4d9e-4410-8489-eb1c32e06307";
sha256 = "1hbl4z3b43v9yh1i2dxz9wm52ff1hpv0kwck5afabifhh1b9nlz1";
};
# --- GNOME/dconf Settings via Home Manager ---
dconf.settings = {
# Interface / theme
@ -21,6 +26,11 @@ dconf.settings = {
accent-color = "purple";
};
# Wallpaper settings
"org/gnome/desktop/background" = {
picture-uri = "file:///home/fred/.local/share/backgrounds/wallpaper.jpg";
picture-uri-dark = "file:///home/fred/.local/share/backgrounds/wallpaper.jpg";
};
# Window manager keybindings
"org/gnome/desktop/wm/keybindings" = {
@ -53,5 +63,4 @@ dconf.settings = {
accel-profile = "flat";
};
};
}