Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roosoft/roopkgs

Removes some configuration repetition across different computers
https://github.com/roosoft/roopkgs

nix nixos shell zsh

Last synced: about 2 months ago
JSON representation

Removes some configuration repetition across different computers

Awesome Lists containing this project

README

        

# roopkgs

Removes some configuration repetition across different computers.

So far only includes home-manager configurations. Eventually will
include some system applications as well.

## Available configurations for

* zsh
* eza
* helix
* atuin
* tmux
* zellij
* starship
* alacritty

## How to use

#### Import this flake

```nix
roopkgs = {
url = "https://github.com/RooSoft/roopkgs.git";
inputs.nixpkgs.follows = "nixpkgs";
};
```

#### Enable for a given computer

Example: add `roopkgs.nixosModules.home` to `nixos-computer`'s `home-manager` imports

```nix
"me@nixos-computer" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = {
inherit inputs pkgs;
};
modules = [
roopkgs.nixosModules.home
./machines/nixos-computer/users/me/home.nix];
];
};
```

#### Configure applications in the configuration file

Example here with `helix`

```nix
roopkgs.home.helix.enable = true;
```