about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix17
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";