commit 489c0228af368d748fb2e21ff57b039068397f27
parent b762ee9b9b3cf04da3accdd4f6bc257910cca8ef
Author: Anders Hedman <anders.hedman01gmail.com>
Date: Mon, 21 Oct 2024 22:03:28 +0200
hm: Set wallpaper and add some vars
Diffstat:
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/.config/home-manager/home.nix b/.config/home-manager/home.nix
@@ -1,10 +1,18 @@
{ config, pkgs, ... }:
+let
+
+ user = "anders";
+ homedir = "/home/${user}";
+ dotdir = "${homedir}/Repos/dotfiles";
+
+in
+
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
- home.username = "anders";
- home.homeDirectory = "/home/anders";
+ home.username = user;
+ home.homeDirectory = homedir;
programs.git = {
enable = true;
@@ -55,7 +63,7 @@
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
- ".doom.d".source = ~/Repos/dotfiles/.doom.d;
+ ".doom.d".source = "${dotdir}/.doom.d";
};
# Home Manager can also manage your environment variables through
@@ -79,6 +87,10 @@
};
dconf.settings = {
+ "org/gnome/desktop/background" = {
+ picture-uri = "file:///${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
+ picture-uri-dark = "file:///${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
+ };
"org/gnome/desktop/interface" = {
clock-show-weekday = true;
color-scheme = "prefer-dark";