2022-07-27 01:11:07 +00:00
|
|
|
{ nixpkgs, home-manager, globals, ... }:
|
|
|
|
|
2022-10-01 16:21:34 +00:00
|
|
|
# System configuration for an Oracle free server
|
2022-07-27 01:11:07 +00:00
|
|
|
nixpkgs.lib.nixosSystem {
|
2022-10-01 16:21:34 +00:00
|
|
|
system = "aarch64-linux";
|
2022-07-27 01:11:07 +00:00
|
|
|
specialArgs = { };
|
|
|
|
modules = [
|
2022-10-01 16:21:34 +00:00
|
|
|
(removeAttrs globals [ "mailServer" ])
|
2022-07-27 01:11:07 +00:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
2022-10-01 16:21:34 +00:00
|
|
|
networking.hostName = "oracle";
|
2022-10-02 14:48:51 +00:00
|
|
|
bookServer = "books.masu.rs";
|
2022-10-02 17:40:10 +00:00
|
|
|
streamServer = "stream.masu.rs";
|
2022-07-27 01:11:07 +00:00
|
|
|
gui.enable = false;
|
|
|
|
colorscheme = (import ../../modules/colorscheme/gruvbox);
|
2022-10-02 14:48:51 +00:00
|
|
|
passwordHash = null;
|
2022-10-01 16:21:34 +00:00
|
|
|
publicKey =
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
2022-07-27 01:11:07 +00:00
|
|
|
}
|
2022-10-01 16:29:16 +00:00
|
|
|
./hardware-configuration.nix
|
2022-07-27 01:11:07 +00:00
|
|
|
../common.nix
|
|
|
|
../../modules/nixos
|
2022-10-01 16:24:44 +00:00
|
|
|
../../modules/hardware/server.nix
|
2022-10-02 15:09:54 +00:00
|
|
|
../../modules/services/oracle.nix
|
2022-10-01 16:21:34 +00:00
|
|
|
../../modules/services/sshd.nix
|
2022-10-01 21:39:36 +00:00
|
|
|
../../modules/services/calibre.nix
|
2022-10-02 17:40:10 +00:00
|
|
|
../../modules/services/jellyfin.nix
|
2022-07-27 01:11:07 +00:00
|
|
|
];
|
|
|
|
}
|