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"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"emacs-config": {
|
"emacsConfig": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": [
|
"home-manager": [
|
||||||
"home-manager"
|
"home-manager"
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
"emacs-config": "emacs-config",
|
"emacsConfig": "emacsConfig",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
flake.nix
22
flake.nix
|
|
@ -1,11 +1,18 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
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";
|
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";
|
url = "path:./flakes/emacs";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.home-manager.follows = "home-manager";
|
inputs.home-manager.follows = "home-manager";
|
||||||
|
|
@ -24,7 +31,7 @@
|
||||||
email = "tobias.ostner@gmail.com";
|
email = "tobias.ostner@gmail.com";
|
||||||
hostname = "TobBook";
|
hostname = "TobBook";
|
||||||
extraHomeManagerModules = [
|
extraHomeManagerModules = [
|
||||||
inputs.emacs-config.homeManagerModules.aarch64-darwin
|
inputs.emacsConfig.homeManagerModules.aarch64-darwin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
TobWork = darwin-system {
|
TobWork = darwin-system {
|
||||||
|
|
@ -32,6 +39,9 @@
|
||||||
username = "tostner";
|
username = "tostner";
|
||||||
email = "tobias.ostner@jambit.com";
|
email = "tobias.ostner@jambit.com";
|
||||||
hostname = "laptop1042";
|
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/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;
|
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