Add emacs to tobwork

This commit is contained in:
Tobias Ostner 2025-04-23 13:58:25 +02:00
parent 98c77fe32e
commit cfa434f0d2
3 changed files with 19 additions and 9 deletions

View file

@ -1,11 +1,18 @@
{
inputs = {
darwin.inputs.nixpkgs.follows = "nixpkgs";
darwin.url = "github:lnl7/nix-darwin/";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
emacs-config = {
darwin = {
url = "github:lnl7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/";
inputs.nixpkgs.follows = "nixpkgs";
};
emacsConfig = {
url = "path:./flakes/emacs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
@ -24,7 +31,7 @@
email = "tobias.ostner@gmail.com";
hostname = "TobBook";
extraHomeManagerModules = [
inputs.emacs-config.homeManagerModules.aarch64-darwin
inputs.emacsConfig.homeManagerModules.aarch64-darwin
];
};
TobWork = darwin-system {
@ -32,6 +39,9 @@
username = "tostner";
email = "tobias.ostner@jambit.com";
hostname = "laptop1042";
extraHomeManagerModules = [
inputs.emacsConfig.homeManagerModules.aarch64-darwin
];
};
};
};