From d422bc2b77ece72be1098bf05728275ef3306ee5 Mon Sep 17 00:00:00 2001 From: venomade Date: Wed, 8 Apr 2026 15:07:12 +0100 Subject: Before the Return of the Mac Asahi Bugs - Forked GL is very annoying to deal with - Fairydust branch requires 8GB of RAM for display - AArch64 Linux is not very compatible with much software - DRM and other video related things are buggy/do not work - Updating can often break fairydust --- flake.nix | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 93a558c..204de9a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,31 +1,34 @@ { description = "Home Manager configuration of venomade"; - inputs = { - # Specify the source of Home Manager and Nixpkgs. nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + nix-darwin-emacs = { + url = "github:nix-giant/nix-darwin-emacs/065050b9e06a30c01b41539b75464fff972fecd6"; + }; }; - outputs = - { nixpkgs, home-manager, ... }: + { nixpkgs, home-manager, nix-darwin-emacs, ... }: let - system = "aarch64-darwin"; - pkgs = nixpkgs.legacyPackages.${system}; + mkHome = system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./home.nix ]; + extraSpecialArgs = { + inherit system nix-darwin-emacs; + }; + }; in { - homeConfigurations."venomade" = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - - # Specify your home configuration modules here, for example, - # the path to your home.nix. - modules = [ ./home.nix ]; - - # Optionally use extraSpecialArgs - # to pass through arguments to home.nix + homeConfigurations = { + "venomade" = mkHome "aarch64-linux"; + "venomade-darwin" = mkHome "aarch64-darwin"; }; }; } -- cgit 1.4.1-2-gfad0