more vibed refactoring
This commit is contained in:
parent
c343c52ab7
commit
d9c42c2f3b
6 changed files with 69 additions and 19 deletions
12
flake.nix
12
flake.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue