From de4dc57ca76ec543e36a6d7440493bd31730d7ca Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 24 Jul 2022 12:11:57 +0200 Subject: Move user declaration outside flake.nix --- flake.nix | 4 +--- hosts/default.nix | 4 +++- 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 = [ -- cgit 1.4.1