treewide: format using nixfmt
Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
This commit is contained in:
parent
f4464732e3
commit
e641dfa114
113 changed files with 1545 additions and 1019 deletions
69
flake.nix
69
flake.nix
|
@ -3,43 +3,38 @@
|
|||
|
||||
# No inputs, take this flakers
|
||||
|
||||
outputs = _: let
|
||||
sources = import ./npins;
|
||||
nixpkgs = (import sources.flake-compat {src = sources.nixpkgs;}).outputs;
|
||||
inherit (nixpkgs) lib;
|
||||
pkgsFor = nixpkgs.legacyPackages;
|
||||
inputs = sources;
|
||||
in {
|
||||
nixosConfigurations = import ./default.nix;
|
||||
outputs =
|
||||
_:
|
||||
let
|
||||
sources = import ./npins;
|
||||
nixpkgs = (import sources.flake-compat { src = sources.nixpkgs; }).outputs;
|
||||
inherit (nixpkgs) lib;
|
||||
pkgsFor = nixpkgs.legacyPackages;
|
||||
inputs = sources;
|
||||
in
|
||||
{
|
||||
nixosConfigurations = import ./default.nix;
|
||||
|
||||
packages =
|
||||
lib.mapAttrs (
|
||||
_: pkgs: {
|
||||
inherit
|
||||
(import ./packages {
|
||||
inherit inputs pkgs sources;
|
||||
})
|
||||
fish
|
||||
helix
|
||||
kakoune
|
||||
nushell
|
||||
;
|
||||
}
|
||||
)
|
||||
pkgsFor;
|
||||
devShells =
|
||||
lib.mapAttrs (
|
||||
_: pkgs: {
|
||||
default = pkgs.mkShellNoCC {
|
||||
packages = [
|
||||
(pkgs.callPackage (sources.npins + "/npins.nix") {})
|
||||
];
|
||||
env.NPINS_OVERRIDE_nichts = ".";
|
||||
};
|
||||
}
|
||||
)
|
||||
pkgsFor;
|
||||
packages = lib.mapAttrs (_: pkgs: {
|
||||
inherit
|
||||
(import ./packages {
|
||||
inherit inputs pkgs sources;
|
||||
})
|
||||
fish
|
||||
helix
|
||||
kakoune
|
||||
nushell
|
||||
;
|
||||
}) pkgsFor;
|
||||
devShells = lib.mapAttrs (_: pkgs: {
|
||||
default = pkgs.mkShellNoCC {
|
||||
packages = [
|
||||
(pkgs.callPackage (sources.npins + "/npins.nix") { })
|
||||
];
|
||||
env.NPINS_OVERRIDE_nichts = ".";
|
||||
};
|
||||
}) pkgsFor;
|
||||
|
||||
templates = import ./templates;
|
||||
};
|
||||
templates = import ./templates;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue