Removes some configuration repetition across different computers.
So far only includes home-manager configurations. Eventually will include some system applications as well.
- zsh
- eza
- helix
- atuin
- tmux
- zellij
- starship
- alacritty
roopkgs = {
url = "https://github.com/RooSoft/roopkgs.git";
inputs.nixpkgs.follows = "nixpkgs";
};
Example: add roopkgs.nixosModules.home
to nixos-computer
's home-manager
imports
"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];
];
};
Example here with helix
roopkgs.home.helix.enable = true;