Add a wallpaper for the user Mary

This commit is contained in:
Sameer Rahmani 2024-03-27 19:34:17 +00:00
parent 1b36e0dd76
commit 5ceb859922
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
4 changed files with 19 additions and 11 deletions

View File

@ -100,4 +100,5 @@ rec {
}; };
desktop = import ./desktop.nix; desktop = import ./desktop.nix;
stylix = import ./stylix.nix;
} }

View File

@ -13,28 +13,35 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
{ pkgs, ...}: { pkgs, lib, ...}:
{ {
stylix.polarity = "dark"; stylix.image = lib.mkForce ./wallpaper.jpg;
stylix.polarity = "light";
stylix.fonts = { stylix.fonts = {
serif = { serif = {
package = pkgs.dejavu_fonts; package = pkgs.vazir-fonts;
name = "DejaVu Serif"; name = "Vazirmatn";
}; };
sansSerif = { sansSerif = {
package = pkgs.dejavu_fonts; package = pkgs.vazir-fonts;
name = "DejaVu Sans"; name = "Vazirmatn";
}; };
monospace = { monospace = {
package = pkgs.dejavu_fonts; package = pkgs.fira-mono;
name = "DejaVu Sans Mono"; name = "Fira Mono";
}; };
emoji = { emoji = {
package = pkgs.noto-fonts-emoji; package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji"; name = "Noto Color Emoji";
}; };
sizes = {
applications = 10;
desktop = 10;
popups = 10;
terminal = 10;
};
}; };
} }

BIN
users/mary/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB

View File

@ -50,12 +50,12 @@ let
defaultSession = "gnome-xorg"; defaultSession = "gnome-xorg";
gdm.enable = true; gdm.enable = true;
}; };
services.xserver.desktopManager.gnome.enable = lib.mkForce true; services.xserver.desktopManager.gnome.enable = lib.mkForce true;
environment.systemPackages = with pkgs; [ gnomeExtensions.appindicator gnome.adwaita-icon-theme ]; environment.systemPackages = with pkgs; [ gnomeExtensions.appindicator gnome.adwaita-icon-theme ];
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
programs.dconf.enable = true; programs.dconf.enable = true;
services.dbus.enable = true; services.dbus.enable = true;
# I want to fully control my users via nix # I want to fully control my users via nix
users.mutableUsers = false; users.mutableUsers = false;
@ -109,7 +109,7 @@ in {
base base
mary.user mary.user
desktop desktop
styles mary.stylix
yubikey yubikey
virtualisation.podman virtualisation.podman
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager