Move zeus to ezconfigs

This commit is contained in:
Chris Dombroski 2024-09-19 21:56:38 -04:00
parent fe1b1eb6e8
commit 120c8ea9f0
5 changed files with 19 additions and 26 deletions

View file

@ -120,21 +120,6 @@
}
];
};
zeus = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
pkgs-unstable = inputs.nixunstable.legacyPackages.x86_64-linux;
};
modules = [
./systems/zeus/configuration.nix
inputs.impermanence.nixosModules.impermanence
inputs.nixos-hardware.nixosModules.supermicro
inputs.nixos-hardware.nixosModules.common-cpu-amd
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
inputs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
inputs.nixos-hardware.nixosModules.common-pc
];
};
orangepihole = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;

View file

@ -1,20 +1,27 @@
{
config,
pkgs,
pkgs-unstable,
inputs,
ezModules,
...
}:
let
pkgs-unstable = import inputs.nixunstable { inherit (pkgs.stdenv) system; };
in
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos-modules
../../nixos-modules/aarch64-emu.nix
../../nixos-modules/networkd-base.nix
../../nixos-modules/smartd.nix
../../nixos-modules/plymouth.nix
./zeus/hardware-configuration.nix
inputs.impermanence.nixosModules.impermanence
inputs.nixos-hardware.nixosModules.supermicro
inputs.nixos-hardware.nixosModules.common-cpu-amd
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
inputs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
inputs.nixos-hardware.nixosModules.common-pc
ezModules.aarch64-emu
ezModules.networkd-base
ezModules.smartd
ezModules.plymouth
];
boot = {
@ -407,6 +414,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH7rvqA2VG9kOPHBNgfna0YA+jEjIR6ZAKrdgWVWQjCV root@orangepihole"
];
};
nix.settings.trusted-users = ["nixremote" ];
environment = {
systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.

View file

@ -153,6 +153,6 @@
IdentitiesOnly yes
IdentityFile ${config.sops.secrets."nixremote/sshkey".path}
'';
nix.distributedBuilds = false;
#nix.settings.max-jobs = 0;
nix.distributedBuilds = true;
nix.settings.max-jobs = 0;
}

View file

@ -109,7 +109,7 @@
environment = {
systemPackages = with pkgs; [
vim-full # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
vim-full # Do not forget to add an editor to edit zeus.nix! The Nano editor is also installed by default.
libreoffice-qt
firefox
syncthing