Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rossnomann/makky

Don't ask me about it
https://github.com/rossnomann/makky

nixos nixos-flake nixos-module

Last synced: 2 months ago
JSON representation

Don't ask me about it

Awesome Lists containing this project

README

        

# Makky

[![CI](https://img.shields.io/github/actions/workflow/status/rossnomann/makky/ci.yml?branch=master&style=flat-square)](https://github.com/rossnomann/makky/actions/)

A dead simple tool to manage files in NixOS. Use at your own risk.

## Usage

`flake.nix`:
```nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
makky = {
url = "github:rossnomann/makky";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: {
nixosConfigurations.default = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
inputs.makky.nixosModules.default
(
{ config, ... }:
{
config = {
makky = {
enable = true;
targetRoot = "$HOME";
metadataPath = "$HOME/.config/makky.metadata";
files = {
".config/git/config".source = ./resources/git/config;
};
};
};
}
)
];
};
};
}
```

## Limitations

It only creates/removes symlinks. Everything else is up to you.

## LICENSE

The MIT License (MIT)