Merge branch 'main' of github.com:asosnovsky/nixos-setup

This commit is contained in:
ari committed 2025-11-13 10:33:26 -05:00
commit fcc191a9e1
9 files changed
+355 -7

No files matched your search

+1 -1
View File
@@ -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}";
+3
View File
@@ -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 {
+1
View File
@@ -12,6 +12,7 @@ in
./crypto.nix
./gnome.nix
./tiler
./stylix
];
options = {
+18
View File
@@ -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;
};
}
+2 -2
View File
@@ -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;