Create own flake for emacs

This commit is contained in:
Tobias Ostner 2025-04-21 17:53:35 +02:00
parent 75be932b45
commit 98c77fe32e
11 changed files with 174 additions and 129 deletions

View file

@ -5,6 +5,11 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
emacs-config = {
url = "path:./flakes/emacs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};
outputs = inputs:
@ -13,11 +18,14 @@
in
{
darwinConfigurations = {
TobAir = darwin-system {
TobBook = darwin-system {
system = "aarch64-darwin";
username = "tobi";
email = "tobias.ostner@gmail.com";
hostname = "TobAir";
hostname = "TobBook";
extraHomeManagerModules = [
inputs.emacs-config.homeManagerModules.aarch64-darwin
];
};
TobWork = darwin-system {
system = "aarch64-darwin";
@ -25,12 +33,6 @@
email = "tobias.ostner@jambit.com";
hostname = "laptop1042";
};
TobBook = darwin-system {
system = "aarch64-darwin";
username = "tobi";
email = "tobias.ostner@gmail.com";
hostname = "TobBook";
};
};
};
}