Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rossnomann/makky
- Owner: rossnomann
- License: mit
- Created: 2024-09-03T00:06:04.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-11T16:01:53.000Z (3 months ago)
- Last Synced: 2024-09-30T07:23:40.352Z (3 months ago)
- Topics: nixos, nixos-flake, nixos-module
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)