Initialize environment
This commit is contained in:
parent
83c37036a6
commit
6263ca83e4
2 changed files with 6 additions and 21 deletions
|
|
@ -4,10 +4,6 @@ SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
|
|||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
|
||||
# ❄️ Nix Flake template
|
||||
# 🎵 Music Library Archive
|
||||
|
||||
Template that automatically configures settings for language checking,
|
||||
formatting, linting, and previewing to integrate with enabled editors and the
|
||||
project repository.
|
||||
|
||||
See [Nix Flake base](https://git.sudoer777.dev/me/nix-flake-base) for more info.
|
||||
Tracking and archiving my music libraries across different platforms I use.
|
||||
|
|
|
|||
19
flake.nix
19
flake.nix
|
|
@ -3,7 +3,7 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{
|
||||
description = "Nix Flake template";
|
||||
description = "Music Library";
|
||||
inputs = {
|
||||
flake-lib = {
|
||||
url = "git+https://git.sudoer777.dev/me/nix-flake-base.git?ref=main";
|
||||
|
|
@ -46,33 +46,22 @@
|
|||
perSystem =
|
||||
{ pkgs, system, ... }:
|
||||
{
|
||||
settings.reuse.enable = false;
|
||||
editors.helix.enable = true;
|
||||
languages = {
|
||||
en-us = {
|
||||
enable = true;
|
||||
dictionary = [ "Reece" ];
|
||||
vale."{**/*.md,**/*.txt}".packages = {
|
||||
RedHat.enable = true;
|
||||
proselint.enable = true;
|
||||
write-good.enable = true;
|
||||
alex.enable = true;
|
||||
};
|
||||
};
|
||||
markdown.enable = true;
|
||||
nix.enable = true;
|
||||
plain-text.enable = true;
|
||||
toml.enable = true;
|
||||
yaml.enable = true;
|
||||
};
|
||||
devshells.default = {
|
||||
packages = [ pkgs.forgejo-cli ];
|
||||
# reuse annotate -c "Ethan Reece <contact@ethanreece.com>" -l MIT -y 2025
|
||||
devshell = {
|
||||
motd = ''
|
||||
{202} Nix Flake template{reset}
|
||||
{202} Music Library{reset}
|
||||
$(type -p menu &>/dev/null && menu)
|
||||
'';
|
||||
name = "Template";
|
||||
name = "Music Library";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue