Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: Update wallpaper and profile picture

+23 -24
assets/profile-picture.png

This is a binary file and will not be displayed.

assets/wallpaper.png

This is a binary file and will not be displayed.

+5 -1
lib/shared/default.nix
··· 1 - { 1 + let 2 + assets = ../../assets; 3 + in { 2 4 shared = { 3 5 defaults = { 4 6 name.user = "lpchaim"; 5 7 name.full = "Lucas Chaim"; 6 8 email.main = "lpchaim@proton.me"; 7 9 shell = "fish"; 10 + wallpaper = assets + /wallpaper.png; 11 + profilePicture = assets + /profile-picture.png; 8 12 }; 9 13 nix.settings = rec { 10 14 accept-flake-config = true;
modules/assets/profile-picture.jpg

This is a binary file and will not be displayed.

modules/assets/profile-picture.png

This is a binary file and will not be displayed.

modules/assets/wallpaper-dark.png

This is a binary file and will not be displayed.

modules/assets/wallpaper-light.png

This is a binary file and will not be displayed.

+5 -9
modules/home/de/gnome/theming/default.nix
··· 1 1 { 2 2 config, 3 + inputs, 3 4 lib, 4 5 pkgs, 5 6 ... ··· 38 39 ) 39 40 ( 40 41 let 41 - assetsPath = ../../../../assets; 42 + inherit (lib.lpchaim.shared.defaults) profilePicture wallpaper; 42 43 destinationPath = config.home.homeDirectory; 43 - pfp = "${assetsPath}/profile-picture.png"; 44 - wallpaperLight = "${assetsPath}/wallpaper-light.png"; 45 - wallpaperDark = "${assetsPath}/wallpaper-dark.png"; 46 44 in { 47 - home.file."${destinationPath}/.face".source = pfp; 48 - home.file."${destinationPath}/.wallpaper-light".source = wallpaperLight; 49 - home.file."${destinationPath}/.wallpaper-dark".source = wallpaperDark; 45 + home.file."${destinationPath}/.face".source = profilePicture; 46 + home.file."${destinationPath}/.wallpaper".source = wallpaper; 50 47 51 48 dconf.settings = { 52 49 "org/gnome/desktop/background" = { 53 - picture-uri = mkDefault "${destinationPath}/.wallpaper-light"; 54 - picture-uri-dark = mkDefault "${destinationPath}/.wallpaper-dark"; 50 + picture-uri = mkDefault "${destinationPath}/.wallpaper"; 55 51 primary-color = "#000000"; 56 52 picture-options = "zoom"; 57 53 };
+8 -9
modules/shared/theming/default.nix
··· 2 2 lib, 3 3 pkgs, 4 4 ... 5 - }: { 6 - stylix = rec { 5 + }: let 6 + inherit (lib.lpchaim.shared.defaults) wallpaper; 7 + base16 = pkgs.base16-schemes + /share/themes; 8 + in { 9 + stylix = { 7 10 enable = lib.mkDefault true; 8 11 autoEnable = lib.mkDefault true; 9 - image = lib.mkDefault ( 10 - if polarity != "light" 11 - then ../../assets/wallpaper-dark.png 12 - else ../../assets/wallpaper-light.png 13 - ); 12 + image = lib.mkDefault wallpaper; 14 13 polarity = lib.mkDefault "dark"; 15 - base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/stella.yaml"; 14 + base16Scheme = lib.mkDefault "${base16}/stella.yaml"; 16 15 cursor = { 17 16 name = "catppuccin-latte-light-cursors"; 18 17 package = pkgs.catppuccin-cursors.latteLight; 19 18 size = 32; 20 19 }; 21 - fonts.monospace = lib.mkDefault { 20 + fonts.monospace = { 22 21 name = lib.mkDefault "JetBrainsMono Nerd Font"; 23 22 package = lib.mkDefault (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}); 24 23 };
+5 -5
systems/aarch64-linux/raspberrypi/hardware-configuration.nix
··· 13 13 ]; 14 14 15 15 boot.initrd.availableKernelModules = [ 16 - "pcie_brcmstb" # required for the pcie bus to work 17 - "reset-raspberrypi" # required for vl805 firmware to load 16 + "pcie_brcmstb" # required for the pcie bus to work 17 + "reset-raspberrypi" # required for vl805 firmware to load 18 18 "uas" 19 - "usbhid" 20 - "usb_storage" 21 - "vc4" 19 + "usbhid" 20 + "usb_storage" 21 + "vc4" 22 22 ]; 23 23 boot.initrd.kernelModules = []; 24 24 boot.kernelModules = [];