This flake brings you a native derivation for Namida, as well as a home manager module for configuration if you want to.
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
-
Enable unfree nixpkgs
# configuration.nix nixpkgs.config.allowUnfree = true;
-
Add to your flake inputs
# flake.nix inputs = { namida.url = "git+https://codeberg.org/iWisp360/namida-nix"; };
-
Import the home manager module
# home.nix imports = [ inputs.namida.homeManagerModules.namida ];
-
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
}) { })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;
};
};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.