refactor: move stylix to module

This commit is contained in:
Mohammad Rafiq 2025-03-27 00:58:41 +08:00
parent 57dbec7eeb
commit d4ecb78824
No known key found for this signature in database
2 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,21 @@
{ inputs, ... }:
let
toImport = [
../../themes/cursors/banana-cursor.nix
../../themes/darkviolet.nix
../../themes/fonts/sauce-code-pro.nix
];
in
{
imports = [ inputs.stylix.nixosModules.stylix ] ++ toImport;
# Enable basic fonts for reasonable Unicode coverage
fonts.enableDefaultPackages = true;
stylix = {
enable = true;
image = ../../media/wallpaper.jpg;
homeManagerIntegration.autoImport = false;
homeManagerIntegration.followSystem = false;
};
}