Wallpaper: Snow/rain window.

This commit is contained in:
Dmitry Voronin 2025-01-19 09:51:59 +03:00
parent ddd9342a30
commit c61bc03a28
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
5 changed files with 17 additions and 5 deletions

View file

@ -3,8 +3,12 @@ let
cfg = config.module.live; cfg = config.module.live;
in in
{ {
# ISSUE: Can't find a way to import this conditionally.
# imports = [ "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix" ];
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# services.rogue.enable = true; # NOTE: Not available smh. # services.rogue.enable = true; # NOTE: Not available smh.
fileSystems = lib.mkForce config.lib.isoFileSystems;
services.mingetty = { services.mingetty = {
autologinUser = "live"; autologinUser = "live";
helpLine = '' helpLine = ''

View file

@ -29,4 +29,11 @@
module = { module = {
package.all = true; package.all = true;
}; };
services.mingetty = {
autologinUser = "live";
helpLine = ''
Welcome! Both live and root users have password "live". Enjoy!
'';
};
} }

View file

@ -75,12 +75,12 @@ in
cursor = { cursor = {
name = mkStrOption "Bibata-Modern-Custom"; name = mkStrOption "Bibata-Modern-Custom";
size = mkIntOption 24; size = mkIntOption 16;
package = mkPkgOption ( package = mkPkgOption (
inputs.nix-cursors.packages.${pkgs.system}.bibata-modern-cursor.override { inputs.nix-cursors.packages.${pkgs.system}.bibata-modern-cursor.override {
accent_color = "#${cfg.color.accent}"; accent_color = "#${cfg.color.accent}";
background_color = "#${cfg.color.bg.light}"; background_color = "#${cfg.color.fg.light}";
outline_color = "#${cfg.color.border}"; outline_color = "#${cfg.color.bg.dark}";
} }
); );
}; };

View file

@ -9,8 +9,8 @@ let
purpose = config.module.purpose; purpose = config.module.purpose;
# Set the wallpaper here. # Set the wallpaper here.
url = "https://share.voronind.com/wallpaper/video/SnowMountainHouseMoewallsCom.mp4"; url = "https://share.voronind.com/wallpaper/video/SnowyAfternoonCozyBedroomMoewallsCom.mp4";
sha256 = "sha256-IdM1ErINTxP1rx/8GhTZzto0jCRQDZ1y9VnZXAwok7s="; sha256 = "sha256-nfBQsI4YiNa1N3xroBcsLCkJQJ5ZvOUpOaaBhmMF/3Q=";
video = true; video = true;
# Forse black and white for text. # Forse black and white for text.

View file

@ -4,6 +4,7 @@ function reload() {
re() { re() {
# Sway. # Sway.
swaymsg reload swaymsg reload
swaymsg seat seat0 xcursor_theme $XCURSOR_THEME $XCURSOR_SIZE
pkill mpvpaper && wallpaper-video pkill mpvpaper && wallpaper-video
# Waybar. # Waybar.