Skip to content

[Enhancement]: some nix suggestions #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
richen604 opened this issue Apr 8, 2025 · 1 comment
Open
1 task done

[Enhancement]: some nix suggestions #60

richen604 opened this issue Apr 8, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@richen604
Copy link

richen604 commented Apr 8, 2025

Already reported ? *

  • I have searched the existing open and closed request.

Description

Below are a few suggestions based on my work on hydenix, figured this would be better than an PR to discuss implementation details

Proposed Solution

GTK themes, icons, and the cursor, are not applied automatically. gsettings does not seem to work. - You can set GTK themes, icons, and the cursor, using nwg-look

you can fix gsettings with below env, id personally use dconf as thats all that gsettings is just a wrapper for dconf

 environment.sessionVariables = {
    XDG_DATA_DIRS = ''
      ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS
    '';
  };

youll come to realize 99% of nix issues are path issues lol

** Configs are NOT written in NIX language **
Hyprland Dotfiles will be downloaded from KooL's Hyprland-Dots

you can build your hyprland repo as a derivation and supply the configs via xdg.configFile or home.file (for home-manager)

this is exactly what i do for hydenix this way you can track your repo and control updates

this would be the biggest improvement to allow all config files to be part of nix builds

GTK Themes and Icons will be pulled from LINK, including Bibata Cursor Modern Ice

these can also be served as packages, you can reference builds for gtk, icons, cursors, fonts on nix packages.

install.sh

please don't do this, these side effects stop users from swapping over from one config to yours

@richen604 richen604 added the enhancement New feature or request label Apr 8, 2025
@dwilliam62
Copy link
Collaborator

Thank you for this. I will talk to Jak. I think for the moment it will remain as-is. Jak is out of the country working and won't be back until May at the earliest. Neither Jak nor I are experienced NixOS devs. The base for this is from another NixOS project. Where Home Mgr and stylix were stripped out.

The install.sh will remain for know as we don't have the experience to do something different to get new users to NixOS up and running with a basic config. Experienced Nix users aren't going to bother with it.

I don't know how to build a derivation and Jak doesn't want to use Home Manager

regards,
'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants