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
@@ -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}";
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
, hlCommonSettings
|
||||
, nix-flatpak
|
||||
, specialArgs
|
||||
, stylix
|
||||
}:
|
||||
let
|
||||
skygUtils = import ./skyg-utils.nix;
|
||||
@@ -36,6 +37,7 @@ let
|
||||
inherit system;
|
||||
modules = [
|
||||
determinate.nixosModules.default
|
||||
stylix.nixosModules.stylix
|
||||
] ++ (makeImports {
|
||||
attrs = joinedttrs;
|
||||
extraConfiguration = [
|
||||
@@ -57,6 +59,7 @@ let
|
||||
attrs = attrs;
|
||||
extraConfiguration = [
|
||||
home-manager.darwinModules.home-manager
|
||||
stylix.darwinModules.stylix
|
||||
];
|
||||
}) ++ [
|
||||
(import ./macos.nix {
|
||||
|
||||
@@ -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