aboutsummaryrefslogtreecommitdiff
path: root/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-04-29 10:22:16 -0700
committerFranck Cuny <franck@fcuny.net>2025-04-29 10:22:16 -0700
commit3dd2a09087192f6c721bb851276a0019c839eded (patch)
treebbe1d873f42a42a2c2eb668c46f64c3446b059e8 /flake
parentuse some binary caches (diff)
downloadinfra-3dd2a09087192f6c721bb851276a0019c839eded.tar.gz
initial import of emacs config
Diffstat (limited to '')
-rw-r--r--flake.lock38
-rw-r--r--flake.nix7
2 files changed, 45 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index 5a75225..a2c3d83 100644
--- a/flake.lock
+++ b/flake.lock
@@ -21,6 +21,27 @@
"type": "github"
}
},
+ "emacs-overlay": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "nixpkgs-stable": "nixpkgs-stable"
+ },
+ "locked": {
+ "lastModified": 1745892226,
+ "narHash": "sha256-V+SD6l+f4iJyL9V2TYQ3OR64c1xQFvv2LSbJg2W9opo=",
+ "owner": "nix-community",
+ "repo": "emacs-overlay",
+ "rev": "43f387b97b21770d8dbf7e575cc93792d9e5dde9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "emacs-overlay",
+ "type": "github"
+ }
+ },
"flake-compat": {
"flake": false,
"locked": {
@@ -95,6 +116,22 @@
"type": "github"
}
},
+ "nixpkgs-stable": {
+ "locked": {
+ "lastModified": 1745742390,
+ "narHash": "sha256-1rqa/XPSJqJg21BKWjzJZC7yU0l/YTVtjRi0RJmipus=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "26245db0cb552047418cfcef9a25da91b222d6c7",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-24.11",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nixpkgsUnstable": {
"locked": {
"lastModified": 1745391562,
@@ -136,6 +173,7 @@
"root": {
"inputs": {
"darwin": "darwin",
+ "emacs-overlay": "emacs-overlay",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgsUnstable": "nixpkgsUnstable",
diff --git a/flake.nix b/flake.nix
index 8a43bfe..a317e03 100644
--- a/flake.nix
+++ b/flake.nix
@@ -25,6 +25,11 @@
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ emacs-overlay = {
+ url = "github:nix-community/emacs-overlay";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
# Output config, or config for NixOS system
@@ -35,6 +40,7 @@
darwin,
treefmt-nix,
pre-commit-hooks,
+ emacs-overlay,
...
}@inputs:
let
@@ -44,6 +50,7 @@
# Define overlays here
overlays = [
+ emacs-overlay.overlay
(final: _prev: {
# Load all packages from the pkgs directory
customPackages = builtins.mapAttrs (