From cf0c9f66c4b5d9e6342c1eac302d0e6bbe9b1587 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sat, 4 Apr 2026 23:08:40 +0200 Subject: Refactor rice system imports to flake level - Rice system configs now imported in flake mkSystem helper - Removed rice system.nix imports from host configurations - mkSystem now takes hostname and rice name as parameters - Fixes module ordering issue where rice options weren't defined yet --- home/mun/default.nix | 2 +- home/rices/cassette-futurism/system.nix | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'home') diff --git a/home/mun/default.nix b/home/mun/default.nix index 1d0f449..71b844b 100644 --- a/home/mun/default.nix +++ b/home/mun/default.nix @@ -1,6 +1,6 @@ { pkgs, - hostname, + hostname ? "kronos", ... }: let # Hostname-aware rice selection diff --git a/home/rices/cassette-futurism/system.nix b/home/rices/cassette-futurism/system.nix index 4a5baef..a998a2c 100644 --- a/home/rices/cassette-futurism/system.nix +++ b/home/rices/cassette-futurism/system.nix @@ -13,14 +13,11 @@ in { overrideColors = true; base16Scheme = vars.base16; - # Try user wallpaper, fallback to NixOS mosaic - wallpaper = - if builtins.pathExists vars.wallpaper - then vars.wallpaper - else pkgs.fetchurl { - url = vars.wallpaperFallback; - sha256 = "sha256-zVW0KZ26u2bjEMCf/hI/0FftCge+2hHLWbx/ijKSZ6U="; - }; + # Use fallback wallpaper (user can customize by replacing this) + wallpaper = pkgs.fetchurl { + url = vars.wallpaperFallback; + sha256 = "sha256-zVW0KZ26u2bjEMCf/hI/0FftCge+2hHLWbx/ijKSZ6U="; + }; # Retro fonts - VT323 for that authentic terminal look fonts = { -- cgit v1.2.3