divnix / digga

A flake utility library to craft shell-, home-, and hosts- environments.
https://digga.divnix.com
MIT License
1k stars 107 forks source link

greetd minimalism #153

Closed blaggacao closed 3 years ago

blaggacao commented 3 years ago

Ideas

The below triplet is a really refreshing extremely minimal greeter solution written in rust, that I'd like to adopt in my environments. I might eventually get around and package them myself, but if somebody is interested in beating me to it, it will be an easy win. :smile:

Requests

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/97544763-greetd-minimalism?utm_campaign=plugin&utm_content=tracker%2F161955272&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F161955272&utm_medium=issues&utm_source=github).
Th3Whit3Wolf commented 3 years ago

All of these and more are now available on unstable

nova-nowiz commented 3 years ago

@blaggacao Can the unstable modules be imported as supplementary modules to complement the stable ones?

blaggacao commented 3 years ago

@Narice You would be pulling the corresponding packages in ./overlays/overrides.nix, as for the modules, you can use latestModulePath which is an automagic specialArgs in fup for the input channel named latest. So to pull in modules, it would be something like:

{latestModulePath}: {
    imports = [ "${latestModulePath}/path/to/module.nix" ];
}

it can be that you also need to disable some current stable module with disabledModules if there are conflicts. Not always are those modules compatible tough, so chances are somewhat 50/50.

fup-implementation for reference.

Let me know how it goes. :wink:

nova-nowiz commented 3 years ago

Nice, Thanks! Do you think we can close this issue?

Pacman99 commented 3 years ago

Yeah I don't think we should encourage module creation or packaging in this repo anyways, since the whole point is to put them in your devos flake and share it. Maybe we can create some tag for thread in GH discussions where you can share links to your content or requests for packaging/modules from others.