orac config (oracle-arm)

This commit is contained in:
death916 2025-08-01 03:31:15 -07:00
parent 2b95dc0499
commit f7216de230
4 changed files with 145 additions and 13 deletions

View file

@ -1,4 +1,3 @@
# ~/Documents/nix-config/flake.nix
{
description = "NixOS configurations for laptop and homelab server";
@ -44,28 +43,41 @@
nixos = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs system overlays primaryUser;
inherit
inputs
system
overlays
primaryUser
;
unstablePkgs = import nixpkgs-unstable { inherit system; };
};
modules = [
./nixos/configuration.nix
./nixos/hardware-configuration.nix
home-manager.nixosModules.home-manager
({ unstablePkgs, ... }: {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit hmLib unstablePkgs; };
home-manager.users.death916 = {
imports = [ ./home-manager/home.nix ];
};
})
(
{ unstablePkgs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit hmLib unstablePkgs; };
home-manager.users.death916 = {
imports = [ ./home-manager/home.nix ];
};
}
)
];
};
homelab = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs system overlays primaryUser;
inherit
inputs
system
overlays
primaryUser
;
unstablePkgsHA = import nixpkgs-unstable { inherit system; };
};
modules = [
@ -87,10 +99,15 @@
inherit system;
specialArgs = {
inherit inputs system overlays primaryUser;
inherit
inputs
system
overlays
primaryUser
;
};
modules = [
./nixos/oracle-proxy.nix # Your main homelab config
./nixos/oracle-proxy.nix # Your main homelab config
./nixos/oracle-proxy-hardware.nix
home-manager.nixosModules.home-manager
{
@ -103,6 +120,32 @@
}
];
};
orac = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit
inputs
system
overlays
primaryUser
;
};
modules = [
./nixos/orac.nix # Your main homelab config
./nixos/orac-hardware.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit hmLib; };
home-manager.users.death916 = {
imports = [ ./home-manager/orac-home.nix ];
};
}
];
};
};
};
}