more vibed refactoring

This commit is contained in:
alisceon 2026-03-10 21:58:35 +01:00
parent c343c52ab7
commit d9c42c2f3b
6 changed files with 69 additions and 19 deletions

View file

@ -36,7 +36,11 @@
}:
let
system = "x86_64-linux";
repoLocalPath = "/home/alisceon/.nixos_config";
repoLocalPath =
let
fromEnv = builtins.getEnv "NIXOS_CONFIG_ROOT";
in
if fromEnv != "" then fromEnv else "/home/alisceon/.nixos_config";
pkgs = import nixpkgs {
inherit system;
@ -53,7 +57,7 @@
};
sharedSpecialArgs = {
inherit inputs pkgs-unstable repoLocalPath;
inherit pkgs-unstable repoLocalPath;
repoRoot = self;
};
@ -113,9 +117,7 @@
./nixos/modules/profiles/server.nix
];
serverHomeModules = [
./home/profiles/server.nix
];
serverHomeModules = [ ];
in
{
nixosConfigurations = {