stylix
This commit is contained in:
1 parent
e7e05d1b15
commit
d399df52b1
7 files changed
+77
-50
No files matched your search
@@ -51,7 +51,7 @@ in
|
||||
, ...
|
||||
}@user: { pkgs, ... }: {
|
||||
fonts = fontsModule;
|
||||
gtk = (import ./gtk.nix { inherit pkgs; });
|
||||
# gtk = (import ./gtk.nix { inherit pkgs; });
|
||||
home = homeModule // {
|
||||
username = name;
|
||||
homeDirectory = "/home/${name}";
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
{config,lib,...}:
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfgName = "skyg.nixos.desktop.stylix";
|
||||
cfg = config."${cfgName}";
|
||||
in
|
||||
cfg = config.skyg.nixos.desktop.stylix;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
"${cfgName}" = {
|
||||
enable = lib.mkEnableOption
|
||||
options = {
|
||||
skyg.nixos.desktop.stylix = {
|
||||
enable = lib.mkEnableOption
|
||||
"Enable Stylix";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.enable = true;
|
||||
stylix.polarity = "dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.enable = true;
|
||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
stylix.polarity = "dark";
|
||||
stylix.autoEnable = true;
|
||||
};
|
||||
}
|
||||
@@ -29,8 +29,8 @@ in
|
||||
hyprls
|
||||
];
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
# environment.sessionVariables = {
|
||||
# HYPR_PLUGIN_DIR = hypr-plugin-dir;
|
||||
|
||||
Reference in new issue
Block a user