Merge branch 'main' of github.com:asosnovsky/nixos-setup
This commit is contained in:
commit
fcc191a9e1
9 files changed
+355
-7
No files matched your search
@@ -12,6 +12,7 @@ in
|
||||
./crypto.nix
|
||||
./gnome.nix
|
||||
./tiler
|
||||
./stylix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.skyg.nixos.desktop.stylix;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
skyg.nixos.desktop.stylix = {
|
||||
enable = lib.mkEnableOption
|
||||
"Enable Stylix";
|
||||
};
|
||||
};
|
||||
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 ];
|
||||
};
|
||||
home-manager.users."${config.skyg.user.name}".wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
Reference in new issue
Block a user