diff --git a/flake.nix b/flake.nix index 612a9aa4..2f91378c 100644 --- a/flake.nix +++ b/flake.nix @@ -71,7 +71,7 @@ { apps = { x86_64-darwin = let - pkgs = nixpkgs.legacyPackages.x86_64-darwin; + pkgs = nixpkgs.legacyPackages.x86_64-darwin; in { deploy-maakaron = { type = "app"; @@ -155,14 +155,15 @@ maakaron = let system = "x86_64-darwin"; pkgs = nixpkgs.legacyPackages.${system}; - in home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = [ ./systems/maakaron/home.nix ]; - extraSpecialArgs = { - inherit inputs; - niveumPackages = inputs.self.packages.${system}; + in + home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [./systems/maakaron/home.nix]; + extraSpecialArgs = { + inherit inputs; + niveumPackages = inputs.self.packages.${system}; + }; }; - }; }; nixosConfigurations = let diff --git a/systems/maakaron/home.nix b/systems/maakaron/home.nix index 5fac062e..63aec2fd 100644 --- a/systems/maakaron/home.nix +++ b/systems/maakaron/home.nix @@ -1,9 +1,13 @@ -{ config, pkgs, inputs, niveumPackages, ... }: -let +{ + config, + pkgs, + inputs, + niveumPackages, + ... +}: let nextcloud = "${config.home.homeDirectory}/Nextcloud/ZODIAC"; timeLedger = "${nextcloud}/hora.timeclock"; -in -{ +in { home.packages = [ pkgs.git (pkgs.writers.writeDashBin "hora" '' @@ -18,7 +22,7 @@ in home.sessionVariables.EDITOR = "${niveumPackages.vim}/bin/nvim"; home.file."Local Applications".source = pkgs.symlinkJoin { name = "local-applications"; - paths = [ pkgs.anki-bin pkgs.dbeaver pkgs.vscode pkgs.mpv ]; + paths = [pkgs.anki-bin pkgs.dbeaver pkgs.vscode pkgs.mpv]; }; home.stateVersion = "23.11"; home.username = "xm7234fu"; @@ -26,4 +30,4 @@ in nixpkgs.config.allowUnfree = true; nix.package = pkgs.nixFlakes; nix.extraOptions = "experimental-features = nix-command flakes"; -} \ No newline at end of file +}