try adding oracle server config

This commit is contained in:
Noah Masur 2022-10-01 16:21:34 +00:00
parent 485e8223cf
commit d303924f02
2 changed files with 9 additions and 4 deletions

View File

@ -68,6 +68,8 @@
inherit nixpkgs home-manager nur globals wallpapers;
};
wsl = import ./hosts/wsl { inherit nixpkgs wsl home-manager globals; };
oracle =
import ./hosts/oracle { inherit nixpkgs home-manager globals; };
};
darwinConfigurations = with inputs; {

View File

@ -1,20 +1,23 @@
{ nixpkgs, home-manager, globals, ... }:
# System configuration for a generic server
# System configuration for an Oracle free server
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
system = "aarch64-linux";
specialArgs = { };
modules = [
globals
(removeAttrs globals [ "mailServer" ])
home-manager.nixosModules.home-manager
{
networking.hostName = "sheep";
networking.hostName = "oracle";
gui.enable = false;
colorscheme = (import ../../modules/colorscheme/gruvbox);
passwordHash =
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
}
../common.nix
../../modules/nixos
../../modules/services/sshd.nix
];
}