Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanmusic14/home-manager
Nix package manager, home manager, and flake configuration
https://github.com/evanmusic14/home-manager
home-manager home-manager-config nix nix-flake nixos nixpkgs
Last synced: 2 months ago
JSON representation
Nix package manager, home manager, and flake configuration
- Host: GitHub
- URL: https://github.com/evanmusic14/home-manager
- Owner: EvanMusic14
- Created: 2024-03-21T23:29:27.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T18:38:49.000Z (3 months ago)
- Last Synced: 2024-09-28T09:03:46.100Z (3 months ago)
- Topics: home-manager, home-manager-config, nix, nix-flake, nixos, nixpkgs
- Language: Nix
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# home-manager
![Nix and Home Manager install](https://github.com/EvanMusic14/home-manager/actions/workflows/testCommands.yml/badge.svg)## Steps without clone
- Run either of the single commands below
```sh
sudo apt install curl -y \
&& sh <(curl -L https://nixos.org/nix/install) --daemon --yes \
&& source /etc/profile \
&& nix --extra-experimental-features 'nix-command flakes' run github:EvanMusic14/home-manager/main#homeConfigurations."$USER".activationPackage
```
```sh
bash <(curl -L https://raw.githubusercontent.com/EvanMusic14/home-manager/main/bin/curl-setup)
```## Steps with clone
- Run `ssh-keygen -t rsa -b 4096 -N "" -f ~/.ssh/id_rsa && cat ~/.ssh/id_rsa.pub`
- Add public key to git
- Run command below
```sh
cd $HOME/.config \
&& sudo apt install git -y \
&& git clone [email protected]:EvanMusic14/home-manager.git \
&& cd home-manager \
&& ./bin/setup
```## Resources
- home-manager/flake config
- https://www.chrisportela.com/posts/home-manager-flake/
- https://gvolpe.com/blog/nix-flakes/
- https://nix-community.github.io/home-manager/release-notes.xhtml#sec-release-22.11-highlights
- podman
- https://www.reddit.com/r/NixOS/comments/1bh7vy8/does_anyone_have_a_working_example_of_a/
- https://github.com/FabianKoehnen/rootless-podman-homemanager- `home.activation` scripts
- https://github.com/nix-community/home-manager/blob/master/modules/lib/dag.nix
- https://github.com/nix-community/home-manager/blob/b8b391ad18b2ec47d1e95e247301edd4e8326154/modules/files.nix#L50-L83