summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-17 09:24:00 +0200
committerAlan Pearce2023-04-17 09:24:00 +0200
commit659df13a8a6ac848cc095987f33cc1020bd66af9 (patch)
treeac9cd9e5646cb93277bb419fcb91682cebd4a4ea /user
parentd3779759662e190b9ce7ccbd4620b956984e2b07 (diff)
downloadnixfiles-659df13a8a6ac848cc095987f33cc1020bd66af9.tar.lz
nixfiles-659df13a8a6ac848cc095987f33cc1020bd66af9.tar.zst
nixfiles-659df13a8a6ac848cc095987f33cc1020bd66af9.zip
Split NanoPi/other server config
Diffstat (limited to 'user')
-rw-r--r--user/nanopi.nix20
-rw-r--r--user/server.nix5
2 files changed, 21 insertions, 4 deletions
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 = {