Update home.nix
This commit is contained in:
parent
95a1db8ecd
commit
4a2e209240
1 changed files with 54 additions and 45 deletions
|
|
@ -1,9 +1,8 @@
|
||||||
# settings/home.nix
|
# settings/home.nix
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Define the state version for Home Manager
|
# 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 ---
|
# --- Packages for the user ---
|
||||||
# These are packages installed for the user only, not system-wide.
|
# 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 ---
|
# --- GNOME/dconf Settings via Home Manager ---
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
# Interface / theme
|
# Interface / theme
|
||||||
|
|
@ -21,6 +26,11 @@ dconf.settings = {
|
||||||
accent-color = "purple";
|
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
|
# Window manager keybindings
|
||||||
"org/gnome/desktop/wm/keybindings" = {
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
|
|
@ -53,5 +63,4 @@ dconf.settings = {
|
||||||
accel-profile = "flat";
|
accel-profile = "flat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue