about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/aptos/default.nix5
-rw-r--r--hosts/aptos/home.nix12
-rw-r--r--hosts/aptos/profile.nix7
-rw-r--r--lib/default.nix4
4 files changed, 25 insertions, 3 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 8efb050..0a2c772 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -5,7 +5,8 @@
     ./hardware-configuration.nix
     ./sound.nix
     ./networking.nix
-    ../common/desktop
+    ./profile.nix
+    ./home.nix
   ];
 
   virtualisation.docker = { enable = true; };
@@ -19,8 +20,6 @@
     };
   };
 
-  my.profiles = { laptop = { enable = true; }; };
-
   # This value determines the NixOS release from which the default
   # settings for stateful data, like file locations and database versions
   # on your system were taken. It‘s perfectly fine and recommended to leave
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix
new file mode 100644
index 0000000..1215168
--- /dev/null
+++ b/hosts/aptos/home.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }: {
+  my.home = {
+    packages.enable = true;
+    fish.enable = true;
+    git.enable = true;
+    go.enable = true;
+    python.enable = true;
+    scanner.enable = true;
+    tmux.enable = true;
+    yt-dlp.enable = true;
+  };
+}
diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix
new file mode 100644
index 0000000..d1272c3
--- /dev/null
+++ b/hosts/aptos/profile.nix
@@ -0,0 +1,7 @@
+{ ... }: {
+  my.profiles = {
+    # Laptop specific configuration
+    laptop.enable = true;
+    desktop.enable = true;
+  };
+}
diff --git a/lib/default.nix b/lib/default.nix
index e442357..d0a3d51 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -20,6 +20,10 @@
           networking.hostName = hostname;
           nixpkgs = {
             config.allowUnfree = true;
+            overlays = [
+              inputs.emacs-overlay.overlay
+              inputs.nur.overlay
+            ];
           };
           # Add each input as a registry
           nix.registry = inputs.nixpkgs.lib.mapAttrs'