Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/roosoft/roopkgs
- Owner: RooSoft
- Created: 2024-06-27T20:00:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-09T12:49:28.000Z (2 months ago)
- Last Synced: 2024-12-22T20:38:56.761Z (about 2 months ago)
- Topics: nix, nixos, shell, zsh
- Language: Nix
- Homepage: https://github.com/RooSoft/roopkgs
- Size: 69.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;
```