summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--user/nanopi.nix20
-rw-r--r--user/server.nix5
3 files changed, 22 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 9cdc3e62..7abc74cd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -59,7 +59,7 @@
       };
       homeConfigurations."alan@NanoPi.lan" = home-manager.lib.homeManagerConfiguration {
         pkgs = aarch64LinuxPackages;
-        modules = [ ./user/server.nix ];
+        modules = [ ./user/nanopi.nix ];
       };
       homeConfigurations."alan@pappel" = home-manager.lib.homeManagerConfiguration {
         pkgs = nixosPkgs;
diff --git a/user/nanopi.nix b/user/nanopi.nix
new file mode 100644
index 00000000..130e985e
--- /dev/null
+++ b/user/nanopi.nix
@@ -0,0 +1,20 @@
+{ config
+, ...
+}:
+{
+  imports = [
+    ./settings/base.nix
+    ./settings/git.nix
+    ./settings/nix.nix
+    ./settings/nixos.nix
+    ./settings/music-management.nix
+    ./settings/zsh.nix
+  ];
+  config.programs.tabnine = false;
+  home = {
+    username = "alan";
+    sessionVariables.EDITOR = "${config.programs.neovim.finalPackage}/bin/nvim";
+    homeDirectory = "/home/alan";
+    stateVersion = "22.11";
+  };
+}
diff --git a/user/server.nix b/user/server.nix
index 83c70ca0..6c1bbe26 100644
--- a/user/server.nix
+++ b/user/server.nix
@@ -1,15 +1,12 @@
 { config
-, lib
-, pkgs
 , ...
 }:
-with lib; {
+{
   imports = [
     ./settings/base.nix
     ./settings/git.nix
     ./settings/nix.nix
     ./settings/nixos.nix
-    ./settings/music-management.nix
     ./settings/zsh.nix
   ];
   home = {