apply statix lints
Signed-off-by: fau <fau@faukah.com> Change-Id: I6a6a696442c7de5f519287ef8b3d80668973ef48
This commit is contained in:
parent
6ae25f23cf
commit
03067acb8d
5 changed files with 37 additions and 40 deletions
10
default.nix
10
default.nix
|
@ -4,14 +4,14 @@ let
|
|||
# https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers
|
||||
src = import ./npins;
|
||||
pkgs = import src.nixpkgs { };
|
||||
sources = mapAttrs (k: v: v { inherit pkgs; }) src;
|
||||
sources = mapAttrs (_: v: v { inherit pkgs; }) src;
|
||||
|
||||
inherit (pkgs) lib;
|
||||
inherit (lib.filesystem) listFilesRecursive;
|
||||
inherit (lib.strings) hasSuffix;
|
||||
|
||||
mkSystem =
|
||||
system: hostname:
|
||||
hostname:
|
||||
import (src.nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||
specialArgs = {
|
||||
inherit sources;
|
||||
|
@ -28,7 +28,7 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
temperance = mkSystem "x86_64-linux" "temperance";
|
||||
hermit = mkSystem "x86_64-linux" "hermit";
|
||||
tower = mkSystem "aarch64-linux" "tower";
|
||||
temperance = mkSystem "temperance";
|
||||
hermit = mkSystem "hermit";
|
||||
tower = mkSystem "tower";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue