From 51edd5bbb706fbaf6a31e12a2b3241ebddd8899f Mon Sep 17 00:00:00 2001 From: Ivan Kirilov Dimitrov Date: Sun, 7 Jul 2024 23:32:52 +0200 Subject: [PATCH] readme update --- README.md | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 94e9c54..d0c1d27 100644 --- a/README.md +++ b/README.md @@ -2,38 +2,19 @@ ### Usage -To build the base system for my craptop: +To build the nixos system: ```bash -sudo nixos-rebuild switch --flake github:ivandimitrov8080/configuration.nix#laptop +make nixos ``` To build ivand home: ```bash -home-manager switch --flake github:ivandimitrov8080/configuration.nix#ivand +make home ``` -To reuse modules: - -in your flake.nix: -```nix -inputs.ivan-mods = { - url = "github:ivandimitrov8080/configuration.nix"; - inputs.nixpkgs.follows = "nixpkgs"; -}; -outputs = {self, nixpkgs, ivan-mods, ...}:{ -... - homeConfigurations = { - my-user = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = with ivan-mods.modules.home; [ - programs.nvim - programs.zsh - ]; - }; - }; -... -}; +To make music: +```bash +make music # this will compile the realtime kernel ``` -