diff --git a/flake.nix b/flake.nix index 7fd9403..ccd824a 100644 --- a/flake.nix +++ b/flake.nix @@ -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; { diff --git a/hosts/server/default.nix b/hosts/oracle/default.nix similarity index 58% rename from hosts/server/default.nix rename to hosts/oracle/default.nix index fad1431..fd90dc3 100644 --- a/hosts/server/default.nix +++ b/hosts/oracle/default.nix @@ -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 ]; }