fixed formatting
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 5s
Nix Format Check / check-format (push) Successful in 1m14s
Python Lint Check / check-python (push) Failing after 6s

This commit is contained in:
2025-09-23 13:35:37 +00:00
parent 54fc080ef2
commit c659c599f4
5 changed files with 71 additions and 44 deletions

View File

@@ -18,28 +18,36 @@
opnix,
}:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgsFor = system: import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgsFor =
system:
import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
homeConfigurations = let
mkHomeConfig = system: hostname: isServer:
home-manager.lib.homeManagerConfiguration {
pkgs = pkgsFor system;
modules = [ ./home.nix ];
extraSpecialArgs = {
homeConfigurations =
let
mkHomeConfig =
system: hostname: isServer:
home-manager.lib.homeManagerConfiguration {
pkgs = pkgsFor system;
inherit opnix isServer hostname;
modules = [ ./home.nix ];
extraSpecialArgs = {
pkgs = pkgsFor system;
inherit opnix isServer hostname;
};
};
};
in {
"mennos-vps" = mkHomeConfig "aarch64-linux" "mennos-vps" true;
"mennos-desktop" = mkHomeConfig "x86_64-linux" "mennos-desktop" false;
"mennos-laptop" = mkHomeConfig "x86_64-linux" "mennos-laptop" false;
};
in
{
"mennos-vps" = mkHomeConfig "aarch64-linux" "mennos-vps" true;
"mennos-desktop" = mkHomeConfig "x86_64-linux" "mennos-desktop" false;
"mennos-laptop" = mkHomeConfig "x86_64-linux" "mennos-laptop" false;
};
};
}