[Asahi] Add basic config.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
fb9c0c4bd4
commit
4ad29acdc1
9 changed files with 403 additions and 24 deletions
21
flake.nix
21
flake.nix
|
|
@ -19,7 +19,9 @@
|
|||
url = "github:mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
apple-silicon = {
|
||||
url = "github:tpwrules/nixos-apple-silicon/release-2025-05-17";
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.05";
|
||||
|
|
@ -36,6 +38,7 @@
|
|||
nixpkgs-unstable,
|
||||
nixpkgs-msft-go,
|
||||
nix-darwin,
|
||||
apple-silicon,
|
||||
nixos-hardware,
|
||||
home-manager,
|
||||
ghostty,
|
||||
|
|
@ -60,6 +63,22 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
asahi = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs apple-silicon ghostty;
|
||||
};
|
||||
modules = [
|
||||
./hosts/asahi/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug = import ./hosts/asahi/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
devbox = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue