run nixfmt

This commit is contained in:
insects 2024-08-21 15:15:04 +02:00
parent 477bce6897
commit 9415d40508
41 changed files with 384 additions and 262 deletions

View file

@ -20,11 +20,12 @@
};
outputs =
{ self
, nixpkgs
, home-manager
, ...
} @ inputs:
{
self,
nixpkgs,
home-manager,
...
}@inputs:
let
inherit (self) outputs;
lib = nixpkgs.lib;
@ -33,10 +34,13 @@
"aarch64-darwin"
];
forEachSystem = f: lib.genAttrs systems (system: f pkgsFor.${system});
pkgsFor = lib.genAttrs systems (system: import nixpkgs {
inherit system;
config.allowUnfree = true;
});
pkgsFor = lib.genAttrs systems (
system:
import nixpkgs {
inherit system;
config.allowUnfree = true;
}
);
in
{
inherit lib;
@ -50,24 +54,32 @@
nixosConfigurations = {
enoko = lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
specialArgs = {
inherit inputs outputs;
};
modules = [
./nixos/enoko/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs outputs; };
home-manager.extraSpecialArgs = {
inherit inputs outputs;
};
home-manager.users.lu = import ./home/enoko.nix;
}
];
};
yukari = lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
specialArgs = {
inherit inputs outputs;
};
modules = [
./nixos/yukari/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs outputs; };
home-manager.extraSpecialArgs = {
inherit inputs outputs;
};
home-manager.users.lu = import ./home/yukari.nix;
}
];