refactor(stylix): add home-manager integration
This commit is contained in:
parent
a70aebffff
commit
6e258fc023
16 changed files with 52 additions and 33 deletions
|
@ -14,5 +14,6 @@
|
|||
clang.enable = true;
|
||||
lua.enable = true;
|
||||
python.enable = true;
|
||||
css.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
16
users/modules/stylix.nix
Normal file
16
users/modules/stylix.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.stylix.homeManagerModules.stylix
|
||||
../../themes/darkviolet.nix
|
||||
../../themes/fonts/sauce-code-pro.nix
|
||||
../../themes/cursors/banana-cursor.nix
|
||||
];
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ../../media/wallpaper.jpg;
|
||||
};
|
||||
stylix.targets.gtk.extraCss = ''
|
||||
|
||||
'';
|
||||
}
|
|
@ -1,8 +1,15 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./modules/sh.nix
|
||||
./modules/de.nix
|
||||
./modules/utils.nix
|
||||
./modules/stylix.nix
|
||||
];
|
||||
|
||||
# This enables using home-manager from the command line.
|
||||
|
@ -17,4 +24,5 @@
|
|||
# Do not change it.
|
||||
stateVersion = "25.05";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue