Commit some reformatted files
This commit is contained in:
parent
2d065e2493
commit
902b296299
2 changed files with 36 additions and 32 deletions
65
flake.nix
65
flake.nix
|
|
@ -28,36 +28,39 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{
|
||||||
clan-core,
|
self,
|
||||||
nixpkgs,
|
clan-core,
|
||||||
...
|
nixpkgs,
|
||||||
} @ inputs: let
|
...
|
||||||
# Usage see: https://docs.clan.lol
|
}@inputs:
|
||||||
clan = clan-core.lib.clan {
|
let
|
||||||
inherit self;
|
# Usage see: https://docs.clan.lol
|
||||||
imports = [./clan.nix];
|
clan = clan-core.lib.clan {
|
||||||
specialArgs = {inherit inputs;};
|
inherit self;
|
||||||
};
|
imports = [ ./clan.nix ];
|
||||||
in {
|
specialArgs = { inherit inputs; };
|
||||||
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
|
};
|
||||||
# Add the Clan cli tool to the dev shell.
|
in
|
||||||
# Use "nix develop" to enter the dev shell.
|
{
|
||||||
devShells =
|
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
|
||||||
nixpkgs.lib.genAttrs
|
# Add the Clan cli tool to the dev shell.
|
||||||
[
|
# Use "nix develop" to enter the dev shell.
|
||||||
"x86_64-linux"
|
devShells =
|
||||||
"aarch64-linux"
|
nixpkgs.lib.genAttrs
|
||||||
"aarch64-darwin"
|
[
|
||||||
"x86_64-darwin"
|
"x86_64-linux"
|
||||||
]
|
"aarch64-linux"
|
||||||
(system: {
|
"aarch64-darwin"
|
||||||
default = clan-core.inputs.nixpkgs.legacyPackages.${system}.mkShell {
|
"x86_64-darwin"
|
||||||
packages = [clan-core.packages.${system}.clan-cli];
|
]
|
||||||
};
|
(system: {
|
||||||
});
|
default = clan-core.inputs.nixpkgs.legacyPackages.${system}.mkShell {
|
||||||
|
packages = [ clan-core.packages.${system}.clan-cli ];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
clan = clan.config;
|
clan = clan.config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
# Must-have packages
|
# Must-have packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue