about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-07 18:10:58 +0900
committersefidel <contact@sefidel.net>2023-02-07 18:10:58 +0900
commitcd7df8d2ea9234e4db8ddc831c065dd6da2b9382 (patch)
tree694e2cc80e10889a1177bd0310c722e83cc9a51f /nixos
parentee89dcea57a36e856b53fa178284a7f80d3a4839 (diff)
downloadnixrc-cd7df8d2ea9234e4db8ddc831c065dd6da2b9382.tar.gz
nixrc-cd7df8d2ea9234e4db8ddc831c065dd6da2b9382.zip
feat(flake): bump
TODO: uncomment neovim overlay,
see comments in relevant section
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix34
1 files changed, 16 insertions, 18 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index d9dd00d..332c25a 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -22,7 +22,7 @@
     };
   };
 
-  boot.kernelPackages = pkgs.linuxPackages_6_0;
+  boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
   boot.kernelParams = [
     "nohibernate"
     "nmi_watchdog=0"
@@ -67,22 +67,20 @@
 
   i18n.defaultLocale = "en_US.UTF-8";
   i18n.inputMethod.enabled = "kime";
-  i18n.inputMethod.kime.config = {
-    engine = {
-      global_hotkeys = {
-        C-Space = {
-          behavior = {
-            Toggle = [ "Hangul" "Latin" ];
-          };
-          result = "Consume";
-        };
-        AltR = {
-          behavior = "Ignore";
-          result = "Bypass";
-        };
-      };
-    };
-  };
+  i18n.inputMethod.kime.extraConfig = ''
+    engine:
+      global_hotkeys:
+        C-Space:
+          behavior: !Toggle
+          - Hangul
+          - Latin
+          result: Consume
+        AltR:
+          behavior: !Ignore
+          - Hangul
+          - Latin
+          result: Bypass
+  '';
 
   console.font = "${pkgs.dina-font}/share/fonts/misc/DinaMedium10.pcf.gz";
   console.colors = [
@@ -114,7 +112,7 @@
   services.zfs.autoScrub.pools = [ "rpool" ];
 
   services.openssh.enable = true;
-  services.openssh.passwordAuthentication = false;
+  services.openssh.settings.passwordAuthentication = false;
   services.openssh.hostKeys = [
     {
       path = "/persist/ssh/ssh_host_ed25519_key";