about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--hosts/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 4aa6f6e..902324e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -22,12 +22,10 @@
   };
 
   outputs = inputs @ { self, nixpkgs, home-manager, ... }:
-    let user = "baitinq";
-    in
     {
       nixosConfigurations = import ./hosts {
         inherit (nixpkgs) lib;
-        inherit inputs nixpkgs home-manager user;
+        inherit inputs nixpkgs home-manager;
       };
     };
 }
diff --git a/hosts/default.nix b/hosts/default.nix
index d249bcb..9c23363 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -1,5 +1,7 @@
-{ user, lib, nixpkgs, inputs, home-manager, ... }:
+{ lib, nixpkgs, inputs, home-manager, ... }:
 let
+  user = "baitinq";
+
   secrets = import ../secrets;
 
   hosts = [