An open API service indexing awesome lists of open source software.

https://github.com/mkg20001/lxd-nixpkgs-test

Tiny script to help you test nixpkgs changes [maintainer=@mkg20001]
https://github.com/mkg20001/lxd-nixpkgs-test

lxd nix nixos

Last synced: 26 days ago
JSON representation

Tiny script to help you test nixpkgs changes [maintainer=@mkg20001]

Awesome Lists containing this project

README

        

# lxd-nixpkgs-test

Tiny script to help you test nixpkgs changes (requires lxd installed)

# Installation

Clone the repo

Enable LXD

```nix
virtualisation.lxd.enable = true;
users.users.YOU.extraGroups = [ "lxd" ];
```

Init LXD

```
sudo lxd init --auto
```

# Usage

```
nix-env -f https://github.com/mkg20001/lxd-nixpkgs-test/archive/master.tar.gz -i
```

Set everything up by running `lnt init `

Afterwards use `lnt enter ` to spawn and enter a container with your worktree checked out

Modify `/config/default.nix` and re-run `lnt rebuild ` in the container to have your changes applied

NOTE: this tool assumes the git worktree workflow

If you don't know git worktree then you should really look it up

`git worktree add your-big-feature`