Compare commits

...

3 Commits

Author SHA1 Message Date
Bill Ewanick 9aaacb144d Alejandra formatting 2025-07-26 02:33:52 -04:00
Bill Ewanick 784539bf52 Add Alejandra for Nix formatting 2025-07-26 02:33:52 -04:00
Bill Ewanick 50691630d1 Set osds-site to default package 2025-07-26 02:33:52 -04:00
1 changed files with 54 additions and 56 deletions

View File

@ -11,8 +11,7 @@
treefmt-nix.url = "github:numtide/treefmt-nix";
};
outputs =
inputs@{ flake-parts, ... }:
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
# To import a flake module
@ -35,27 +34,27 @@
# agnostic ones like nixosModule and system-enumerating ones, although
# those are more easily expressed in perSystem.
};
perSystem =
{
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}:
{
}: {
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
# system.
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
packages.default = pkgs.hello;
# packages.default = pkgs.hello;
packages.default = config.packages.osds-site;
devshells.default = {
packages = with pkgs; [
cowsay
alejandra
];
};
@ -84,9 +83,8 @@
treefmt = {
programs = {
alejandra.enable = true;
mdformat.enable = true;
nixfmt.enable = true;
nixfmt.package = pkgs.nixfmt-rfc-style;
prettier.enable = true;
prettier.excludes = ["*.md"];
stylish-haskell.enable = true;