Skip to content

iWisp360/namida-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Namida player for Nix/Home Manager

contributions welcome

This flake brings you a native derivation for Namida, as well as a home manager module for configuration if you want to.

Installation

Note

These steps assume you already set up home manager with flakes and you are ready to import modules to your home.nix, if you already didn't do so, checkout these docs

Feel free to skip steps you have already done before

  1. Enable unfree nixpkgs

    # configuration.nix
    nixpkgs.config.allowUnfree = true;
  2. Add to your flake inputs

    # flake.nix
    inputs = {
        namida.url = "git+https://codeberg.org/iWisp360/namida-nix";
    };
  3. Import the home manager module

    # home.nix
    imports = [
        inputs.namida.homeManagerModules.namida
    ];
  4. Enable namida

    # home.nix
    programs = {
        namida.enable = true;
    };

Note

A package is also offered, if you want just the package, you may want to add to your home.packages or environment.systemPackages the package inputs.namida.packages.${system}.default, or if you aren't using flakes at all, you can add this to your packages

(pkgs.callPackage (builtins.fetchGit { 
  url = "https://codeberg.org/iWisp360/namida-nix"; 
  rev = "2e439a23371b05fc8d94a7f6d503994382433d0d"; # latest revision where nix/default.nix got modified
 }) { })

Configuration

For further configuration, see docs.md to know the available options for this module.

Here is an example on how you would configure namida through home manager:

programs.namida = {
    enable = true;
    settings = {
        enable = true;
        appearance.pitchBlack = true;
        customization.blur = true;
    };
};

Credits

All the credits for Namida goes to original author.

Important

Although this flake is licensed under the terms of the GPL-3.0-only, Namida isn't, see Namida's license to know more.

About

Read-only mirror of https://codeberg.org/iWisp360/namida-nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages