-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
36 lines (33 loc) · 1 KB
/
home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ config, pkgs, ...}:
let
wallpaperImg = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/wyfhbb/MyNixosConfiguration/main/Wallpaper/1689266787572.jpg";
# replace this with the SHA256 hash of the image file
hash = "sha256-0oqiUASeamh0J+qj1Pda5YzQqoAYN/J4naiZ/54Xa4M";
};
wallpaperImgDark = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/wyfhbb/MyNixosConfiguration/main/Wallpaper/1689266903394.jpg";
# replace this with the SHA256 hash of the image file
hash = "sha256-RDV4cah8QZMnup0zcvpLijyy/zJ8BeqidkAKK1DNXE0";
};
in
{
home.username = "wyf";
home.homeDirectory = "/home/wyf";
dconf.settings = {
"org/gnome/desktop/background" = {
picture-uri = "file://${wallpaperImg}";
picture-uri-dark = "file://${wallpaperImgDark}";
};
"org/gnome/desktop/interface" = {
enable-hot-corners = true;
};
"org/gnome/mutter" = {
edge-tiling = true;
};
};
home.packages = with pkgs;[
htop
];
home.stateVersion = "23.11";
}