RooSoft / roopkgs

Removes some configuration repetition across different computers

Home Page:https://github.com/RooSoft/roopkgs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

"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

roopkgs.home.helix.enable = true;

About

Removes some configuration repetition across different computers

https://github.com/RooSoft/roopkgs


Languages

Language:Nix 100.0%