8000 GitHub - antholeole/nixconfig: My nix config · GitHub
[go: up one dir, main page]

Skip to content
{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2FGitHub.com%2Fantholeole%2Fnixconfig%2F","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E\u0026source=header-repo\u0026source_repo=antholeole%2Fnixconfig","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://GitHub.com/antholeole/nixconfig\",\"user_id\":null}}","auth_hydro_click_hmac":"8f71489a5af7f719044159a46f9e6cf431ba325ba10923e7e9560e7c1fe2b808"}}
antholeolePublic

About

My nix config

Resources

Stars

61 stars

Watchers

2 watching

Forks

Repository files navigation

Quick start (nixos)

  • nix flake show to see all outputs
  • sudo nixos-rebuild switch --flake .#pc --impure

HomeManager only:

  1. Install nix
  2. enable flakes: mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  3. git clone this repo
  4. activate home-manager via a temporary install. nix shell home-manager
  5. run home-manager switch --flake .#<hm-config> --impure -b backup. for example, "headless-work" for <hm-config>
  6. make sure you use the fish in ~/.nix-profile/bin, it has a custom init built in.

Post install

for hm, run init-niri to initalize the wm.

Notes

this needs a refactor. I wouldn't copy the structure. If i have to update, say, niri in nixos and hm, I have to do it across multiple files. Flake parts has https://flake.parts/options/flake-parts-flakemodules for that.

About

My nix config

Resources

Stars

61 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0