diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-12-15 02:42:15 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-12-15 02:42:15 +0900 |
commit | dd2bc1292ac634238703a9d8e441ccc1b7ca0851 (patch) | |
tree | 1d31720e2c6205a186c860651470b184bb321376 | |
parent | bb1a08eda5a2af3ecf1b155a401b4e5b67771283 (diff) | |
download | nixos-conf-dd2bc1292ac634238703a9d8e441ccc1b7ca0851.tar.gz |
Enable Guix service
-rw-r--r-- | configuration.nix | 17 |
1 files 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"; |