feat(homes/rafiq): add stylix options and wallpaper
This commit is contained in:
parent
69d7bca0f6
commit
03bac12a2d
3 changed files with 20 additions and 0 deletions
|
@ -37,6 +37,14 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mkIf config.graphical {
|
mkIf config.graphical {
|
||||||
|
stylix = {
|
||||||
|
image = ./wallpaper.png;
|
||||||
|
targets = {
|
||||||
|
firefox.colorTheme.enable = true;
|
||||||
|
firefox.profileNames = syncedProfiles;
|
||||||
|
waybar.addCss = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
persistDirs = [
|
persistDirs = [
|
||||||
"docs"
|
"docs"
|
||||||
"repos"
|
"repos"
|
||||||
|
|
BIN
nix/homes/rafiq/desktop/wallpaper.png
Normal file
BIN
nix/homes/rafiq/desktop/wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
12
nix/modules/graphical/stylix.nix
Normal file
12
nix/modules/graphical/stylix.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ inputs, ... }:
|
||||||
|
{
|
||||||
|
# needs to be default because the options get
|
||||||
|
# evaluated even if graphical is set to false
|
||||||
|
flake.modules.nixos.default =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||||
|
stylix.enable = true;
|
||||||
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue