dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Add Nix Support

Open mylinuxforwork opened this issue 3 months ago • 6 comments

Add Nix support to the dotfiles. Develop dedicated flake.nix

mylinuxforwork avatar Sep 02 '25 08:09 mylinuxforwork

May I work on Nix Support? I've been tinkering around with using hyprland with Nix.

GarettLatham avatar Sep 03 '25 13:09 GarettLatham

May I work on Nix Support? I've been tinkering around with using hyprland with Nix.

Every help is welcome. This is my current flake to install dependencies. Dotfiles will be installed with the Dotfiles Installer. https://github.com/mylinuxforwork/dotfiles/blob/1164-nix/setup/nix/flake.nix Can be installed with: sudo nixos-rebuild switch --impure --flake .

Works great so far.... except... waypaper. I got error messages when I run it. And Waypaper ist needed for setting the wallpaper and starts waybar and nwg-dock-hyprland. So it's essential.

mylinuxforwork avatar Sep 03 '25 13:09 mylinuxforwork

Is this going to be for 25.05?

GarettLatham avatar Sep 06 '25 20:09 GarettLatham

Is this going to be for 25.05?

Yes. That’s the plan.

mylinuxforwork avatar Sep 07 '25 07:09 mylinuxforwork

I just copied all packages from the flake.nix into my nixos/configuration.nix and installed the dofiles with the flatpak app. Seems to be working so far, waypaper also worked.

user12257 avatar Oct 23 '25 16:10 user12257

I found that its also necessary to add

services.gvfs.enable = true;

and the package

polkit hyprpolkitagent

and add

exec-once = systemctl --user start hyprpolkitagent like here https://wiki.hypr.land/Hypr-Ecosystem/hyprpolkitagent/

I think another agent would do too, but without I could not use nautilus properly.

I also noticed that the colors scheme is not calculated when changing the wallpaper, I just copied the kitty files from my laptop.

Idk if this helps, this is the first time trying nixos after always using manjaro, hopefully I could help :D

It also seems like the notifications toggle icon might not be part of the fonts that were in the flake.nix

Image

user12257 avatar Oct 23 '25 20:10 user12257