Add emacs to tobwork
This commit is contained in:
parent
98c77fe32e
commit
cfa434f0d2
3 changed files with 19 additions and 9 deletions
4
flake.lock
generated
4
flake.lock
generated
|
|
@ -20,7 +20,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"emacs-config": {
|
||||
"emacsConfig": {
|
||||
"inputs": {
|
||||
"home-manager": [
|
||||
"home-manager"
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"darwin": "darwin",
|
||||
"emacs-config": "emacs-config",
|
||||
"emacsConfig": "emacsConfig",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
|
|
|
|||
22
flake.nix
22
flake.nix
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.file.".emacs.d/early-init.el".source = ./config/early-init.el;
|
||||
home.file.".emacs.d/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue