diff options
| author | venomade <venomade@venomade.com> | 2026-04-08 15:07:12 +0100 |
|---|---|---|
| committer | venomade <venomade@venomade.com> | 2026-04-08 15:07:12 +0100 |
| commit | d422bc2b77ece72be1098bf05728275ef3306ee5 (patch) | |
| tree | 8b6b6f0da228dc99f36d91cf7841c425963e73f5 /flake.nix | |
| parent | a6543a0ba0e5399515e3dbe507a8bd12958839cc (diff) | |
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
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 33 |
1 files changed, 18 insertions, 15 deletions
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"; }; }; } |
