readme update
This commit is contained in:
parent
095e7531cb
commit
51edd5bbb7
31
README.md
31
README.md
@ -2,38 +2,19 @@
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
To build the base system for my craptop:
|
To build the nixos system:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo nixos-rebuild switch --flake github:ivandimitrov8080/configuration.nix#laptop
|
make nixos
|
||||||
```
|
```
|
||||||
|
|
||||||
To build ivand home:
|
To build ivand home:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
home-manager switch --flake github:ivandimitrov8080/configuration.nix#ivand
|
make home
|
||||||
```
|
```
|
||||||
|
|
||||||
To reuse modules:
|
To make music:
|
||||||
|
```bash
|
||||||
in your flake.nix:
|
make music # this will compile the realtime kernel
|
||||||
```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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
...
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user