https://github.com/roosoft/roopkgs
Removes some configuration repetition across different computers
https://github.com/roosoft/roopkgs
nix nixos shell zsh
Last synced: 5 months ago
JSON representation
Removes some configuration repetition across different computers
- Host: GitHub
- URL: https://github.com/roosoft/roopkgs
- Owner: RooSoft
- Created: 2024-06-27T20:00:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T15:36:01.000Z (over 1 year ago)
- Last Synced: 2025-05-15T10:07:42.560Z (about 1 year ago)
- Topics: nix, nixos, shell, zsh
- Language: Nix
- Homepage: https://github.com/RooSoft/roopkgs
- Size: 72.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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;
```