about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-02 12:29:11 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-02 13:05:15 +0100
commitddd0dfab87c7296c1fe9233562f91730d3c8c674 (patch)
treedfe0c342136ac7e116007210e19455e76f9bd18e /hosts
parentHome: Install emacs packages (diff)
downloadnixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.tar.gz
nixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.tar.bz2
nixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.zip
fmt
Diffstat (limited to 'hosts')
-rw-r--r--hosts/darwin.nix10
-rw-r--r--hosts/default.nix36
-rw-r--r--hosts/home-darwin.nix5
-rw-r--r--hosts/home.nix10
4 files changed, 30 insertions, 31 deletions
diff --git a/hosts/darwin.nix b/hosts/darwin.nix
index ada5ee3..002d2d0 100644
--- a/hosts/darwin.nix
+++ b/hosts/darwin.nix
@@ -1,10 +1,10 @@
-{ pkgs, user, ...}:
+{ pkgs, user, ... }:
 {
-    users.users."${user}".home = "/Users/${user}";
+  users.users."${user}".home = "/Users/${user}";
 
-    environment.systemPackages =
+  environment.systemPackages =
     [
     ];
 
-    services.nix-daemon.enable = true;
-}
\ No newline at end of file
+  services.nix-daemon.enable = true;
+}
diff --git a/hosts/default.nix b/hosts/default.nix
index 6808208..05a59d2 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -46,24 +46,24 @@ let
     else if isMacOS
     then
       nix-darwin.lib.darwinSystem
-      {
-        inherit system;
-        specialArgs = extraArgs;
-        modules = [
-          ./darwin.nix
-          home-manager.darwinModules.home-manager
-          {
-            home-manager.useGlobalPkgs = true;
-            home-manager.useUserPackages = true;
-            home-manager.extraSpecialArgs = extraArgs;
-            home-manager.users."manuel.palenzuela" = {
-              imports = [
-                ./home-darwin.nix
-              ];
-            };
-          }
-        ];
-      }
+        {
+          inherit system;
+          specialArgs = extraArgs;
+          modules = [
+            ./darwin.nix
+            home-manager.darwinModules.home-manager
+            {
+              home-manager.useGlobalPkgs = true;
+              home-manager.useUserPackages = true;
+              home-manager.extraSpecialArgs = extraArgs;
+              home-manager.users."manuel.palenzuela" = {
+                imports = [
+                  ./home-darwin.nix
+                ];
+              };
+            }
+          ];
+        }
     else
       home-manager.lib.homeManagerConfiguration
         {
diff --git a/hosts/home-darwin.nix b/hosts/home-darwin.nix
index 1cd5288..ce924d5 100644
--- a/hosts/home-darwin.nix
+++ b/hosts/home-darwin.nix
@@ -1,4 +1,4 @@
-{  pkgs, stateVersion, lib, dotfiles, user, ... }:
+{ pkgs, stateVersion, lib, dotfiles, user, ... }:
 {
   imports = [
   ];
@@ -12,8 +12,7 @@
     ];
   };
 
-  services = {
-  };
+  services = { };
 
   programs = {
     emacs = {
diff --git a/hosts/home.nix b/hosts/home.nix
index 576cce5..b64cf1d 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -167,16 +167,16 @@
         dashboard
 
         projectile
-        
+
         corfu
         kind-icon
-        eldoc-box 
-        
+        eldoc-box
+
         vertico
         consult
         orderless
         marginalia
-        
+
         treesit-auto
 
         go-mode
@@ -376,7 +376,7 @@
   };
 
   home.sessionPath = [
-      "/home/${user}/.cargo/bin"
+    "/home/${user}/.cargo/bin"
   ];
 
   # For disabling the automatic creation of $HOME/Desktop