JaKooLit / NixOS-Hyprland

To Automate Installation of Hyprland on NixOS using flakes. NOTE: Dot configs are not written in Nix.
66 stars 14 forks source link

[Feature Request]: Modular and Manageable Code Structure with Home Manager #11

Closed 0x733 closed 2 months ago

0x733 commented 2 months ago

Feature Request

Description

Usage of Home Manager and modularization of the code.

Use Case

Easy management: Understandable and debuggable.

Proposed Solution

[If you have a specific solution in mind, describe it here. If not, you can skip this section.]

Alternatives

A code structure that is easy to manage and debug, accessible to everyone, and free from the complexity of the config.nix file by using Home Manager and modularizing the code.

Additional Information

[Add any other information about the feature request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]

JaKooLit commented 2 months ago

you are welcome to switch the dots to nix version :)

I dont have plan atm since I dont want to spend much time configuring and only nixos benefits

just remember that my dots shares with all the distro-hyprland install scripts that I shares

0x733 commented 2 months ago

you are welcome to switch the dots to nix version :)

I dont have plan atm since I dont want to spend much time configuring and only nixos benefits

just remember that my dots shares with all the distro-hyprland install scripts that I shares

I understand this, thank you very much for your support. I forked the repo, and I'll work on it if you don't mind.

dwilliam62 commented 2 months ago

you are welcome to switch the dots to nix version :) I dont have plan atm since I dont want to spend much time configuring and only nixos benefits just remember that my dots shares with all the distro-hyprland install scripts that I shares

I understand this, thank you very much for your support. I forked the repo, and I'll work on it if you don't mind.

It will be interesting to see what you come up with. The RO hard links in HM are a big issue with his dotfiles. So features like EDIT, or switching waybar style and themes wont work. And as he mentioned the dotfiles work as-is across many distros. Upgrading to newer versions will be much more effort as well. Havng switched to using his dotfiles on a simplified NixOS has been a welcome change for me.

-Don-

0x733 commented 2 months ago

you are welcome to switch the dots to nix version :)

I dont have plan atm since I dont want to spend much time configuring and only nixos benefits

just remember that my dots shares with all the distro-hyprland install scripts that I shares

I understand this, thank you very much for your support. I forked the repo, and I'll work on it if you don't mind.

It will be interesting to see what you come up with. The RO hard links in HM are a big issue with his dotfiles. So features like EDIT, or switching waybar style and themes wont work. And as he mentioned the dotfiles work as-is across many distros. Upgrading to newer versions will be much more effort as well. Havng switched to using his dotfiles on a simplified NixOS has been a welcome change for me.

-Don-

Home Manager is not essential for creating a modular setup; you can organize code snippets under the modules directory for easier management. I am still new to NixOS. It's quite different from other Linux distributions, and I often struggle with syntax errors.

dwilliam62 commented 2 months ago

Re: HM You are absolutely right. It's not required. But it's used quite often as it's straightforward and works very well building static configs.

With all his scripts it will be a large task to nixify them even using the builtin for creating shell scripts that NIX has.

But I go back to updates. With the amount of changes his project has, keeping up with that in a NIX way will be an extensive project.

Don

On Fri, Sep 27, 2024 at 11:22 AM 0x733 @.***> wrote:

you are welcome to switch the dots to nix version :)

I dont have plan atm since I dont want to spend much time configuring and only nixos benefits

just remember that my dots shares with all the distro-hyprland install scripts that I shares

I understand this, thank you very much for your support. I forked the repo, and I'll work on it if you don't mind.

It will be interesting to see what you come up with. The RO hard links in HM are a big issue with his dotfiles. So features like EDIT, or switching waybar style and themes wont work. And as he mentioned the dotfiles work as-is across many distros. Upgrading to newer versions will be much more effort as well. Havng switched to using his dotfiles on a simplified NixOS has been a welcome change for me.

-Don-

Home Manager is not essential for creating a modular setup; you can organize code snippets under the modules directory for easier management. I am still new to NixOS. It's quite different from other Linux distributions, and I often struggle with syntax errors.

— Reply to this email directly, view it on GitHub https://github.com/JaKooLit/NixOS-Hyprland/issues/11#issuecomment-2379535666, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6Z4V6XMSIICQSHDPUBQWHDZYVZ35AVCNFSM6AAAAABO7HJXXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZGUZTKNRWGY . You are receiving this because you commented.Message ID: @.***>

0x733 commented 2 months ago

Re: HM You are absolutely right. It's not required. But it's used

quite often as it's straightforward and works very well building static

configs.

With all his scripts it will be a large task to nixify them even using the

builtin for creating shell scripts that NIX has.

But I go back to updates. With the amount of changes his project has,

keeping up with that in a NIX way will be an extensive project.

Don

On Fri, Sep 27, 2024 at 11:22 AM 0x733 @.***> wrote:

you are welcome to switch the dots to nix version :)

I dont have plan atm since I dont want to spend much time configuring and

only nixos benefits

just remember that my dots shares with all the distro-hyprland install

scripts that I shares

I understand this, thank you very much for your support. I forked the

repo, and I'll work on it if you don't mind.

It will be interesting to see what you come up with. The RO hard links in

HM are a big issue with his dotfiles. So features like EDIT, or switching

waybar style and themes wont work. And as he mentioned the dotfiles work

as-is across many distros. Upgrading to newer versions will be much more

effort as well. Havng switched to using his dotfiles on a simplified NixOS

has been a welcome change for me.

-Don-

Home Manager is not essential for creating a modular setup; you can

organize code snippets under the modules directory for easier management. I

am still new to NixOS. It's quite different from other Linux distributions,

and I often struggle with syntax errors.

Reply to this email directly, view it on GitHub

https://github.com/JaKooLit/NixOS-Hyprland/issues/11#issuecomment-2379535666,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/A6Z4V6XMSIICQSHDPUBQWHDZYVZ35AVCNFSM6AAAAABO7HJXXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZGUZTKNRWGY

.

You are receiving this because you commented.Message ID:

@.***>

I agree that managing NIX configurations can be time-consuming, but the long-term benefits shouldn’t be overlooked. Even with frequent changes in the project, NIX’s deterministic nature ensures consistency in configurations, and dependency management becomes much more transparent. Additionally, once the transition to NIX is complete, managing updates and changes will be more controlled and automated. While it might seem challenging in the short term, the long-term advantages will make the project more sustainable.