refactor: move stylix to module
This commit is contained in:
parent
57dbec7eeb
commit
d4ecb78824
2 changed files with 22 additions and 15 deletions
21
systems/modules/stylix.nix
Normal file
21
systems/modules/stylix.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue