From dd2bc1292ac634238703a9d8e441ccc1b7ca0851 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 15 Dec 2023 02:42:15 +0900 Subject: Enable Guix service --- configuration.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 94109f7..9bdcf54 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,5 +1,5 @@ # Overall configuration -# Copyright (C) 2022 Nguyễn Gia Phong +# Copyright (C) 2022-2023 Nguyễn Gia Phong # # This file is part of loang configuration. # @@ -20,7 +20,7 @@ { environment = { enableAllTerminfo = true; - systemPackages = with pkgs; [ git htop man-pages rsync vim ]; + systemPackages = with pkgs; [ git guix htop man-pages rsync vim ]; }; fileSystems."/mnt/nas" = { @@ -91,11 +91,14 @@ wheelNeedsPassword = false; }; - services.openssh = { - enable = true; - openFirewall = true; - settings.PasswordAuthentication = false; - ports = [ 2211 ]; + services = { + guix.enable = true; + openssh = { + enable = true; + openFirewall = true; + settings.PasswordAuthentication = false; + ports = [ 2211 ]; + }; }; system.stateVersion = "22.05"; -- cgit 1.4.1