From 3cdaf34ae9bd4d1fceca9336e5c3e12c31138383 Mon Sep 17 00:00:00 2001 From: John Locke Date: Thu, 21 Mar 2024 20:29:38 -0700 Subject: [PATCH] Move boot options to host, enable sshd --- desktop/default.nix | 8 +++----- hosts/desktop/valhalla/configuration.nix | 4 ++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/desktop/default.nix b/desktop/default.nix index d983648..e360513 100644 --- a/desktop/default.nix +++ b/desktop/default.nix @@ -11,13 +11,11 @@ ./include/i18n.nix ]; - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - # Enable networking networking.networkmanager.enable = true; - + services.openssh { + enable = true + }; hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; diff --git a/hosts/desktop/valhalla/configuration.nix b/hosts/desktop/valhalla/configuration.nix index bbec559..b353626 100644 --- a/hosts/desktop/valhalla/configuration.nix +++ b/hosts/desktop/valhalla/configuration.nix @@ -18,6 +18,10 @@ networking.hostName = "valhalla"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions