From cb993cf7c822798da4ffff7995406f4fdec77f4f Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 10 Oct 2024 00:49:07 +0100 Subject: [PATCH] Revert and fix typo --- nix/macOS/flake.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nix/macOS/flake.nix b/nix/macOS/flake.nix index 139c699e..7a5c1f40 100644 --- a/nix/macOS/flake.nix +++ b/nix/macOS/flake.nix @@ -7,7 +7,7 @@ nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; - } + }; home-manager = { url = "github:nix-community/home-manager"; @@ -17,7 +17,7 @@ outputs = inputs@{ self, nix-darwin, nixpkgs }: let - configuration = { lib, pkgs, config, inputs, ... }: { + configuration = { pkgs, config, ... }: { services.nix-daemon.enable = true; nix.settings.experimental-features = "nix-command flakes"; nixpkgs.config.allowUnfree = true; @@ -25,7 +25,13 @@ system.stateVersion = 5; # Home-manager module. - home-manager.users.trude = import ./home.nix; + home-manager = { + extraSpecialArgs = {inherit inputs;}; + backupFileExtension = "backup"; + users = { + "trude" = import ./home.nix; + }; + }; # Configs environment.systemPackages = [