update my emacs flake

nixos
Moritz Böhme 2023-01-30 10:39:29 +01:00
parent fb45fa4b49
commit 217573284e
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
4 changed files with 13 additions and 68 deletions

View File

@ -60,11 +60,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1674900203,
"narHash": "sha256-oBEBvGPkHT31+VxxzHy6KOUrfv16D7dDReltJ7AXebg=",
"lastModified": 1675071250,
"narHash": "sha256-MrNYL8XGyKdcCaUHCVm2VTtHHZ/3MpwVYX514mw88SQ=",
"ref": "main",
"rev": "9406d9d62b5f0781c68a006b0ec975f5bbb740a5",
"revCount": 64,
"rev": "2d2c401dc225dcbc9c13943062dbc2542059b050",
"revCount": 69,
"type": "git",
"url": "ssh://git@gitea.moritzboeh.me/moritz/emacs.git"
},
@ -93,27 +93,6 @@
"type": "github"
}
},
"emacs-overlay_2": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1673086123,
"narHash": "sha256-0gm7Zo/hR860E9MzTkSnr91gBg+GTpmE3EcNc9GFp3c=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "f5f51705d5d8886d2c9aba5e6a19484711175e3f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -161,21 +140,6 @@
}
},
"flake-utils_3": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_4": {
"locked": {
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
@ -190,7 +154,7 @@
"type": "github"
}
},
"flake-utils_5": {
"flake-utils_4": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
@ -205,7 +169,7 @@
"type": "github"
}
},
"flake-utils_6": {
"flake-utils_5": {
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
@ -280,7 +244,7 @@
},
"howdy": {
"inputs": {
"flake-utils": "flake-utils_4",
"flake-utils": "flake-utils_3",
"nixpkgs": [
"nixpkgs"
],
@ -560,7 +524,7 @@
"pre-commit-hooks_2": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils_5",
"flake-utils": "flake-utils_4",
"gitignore": "gitignore",
"nixpkgs": "nixpkgs_7",
"nixpkgs-stable": "nixpkgs-stable"
@ -585,7 +549,6 @@
"arkenfox-userjs": "arkenfox-userjs",
"asus-touchpad-numpad-driver": "asus-touchpad-numpad-driver",
"emacs": "emacs",
"emacs-overlay": "emacs-overlay_2",
"forgit-git": "forgit-git",
"home-manager": "home-manager",
"howdy": "howdy",
@ -632,7 +595,7 @@
},
"utils_2": {
"inputs": {
"flake-utils": "flake-utils_6"
"flake-utils": "flake-utils_5"
},
"locked": {
"lastModified": 1657226504,

View File

@ -19,11 +19,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -76,7 +71,7 @@
channels.nixpkgs.overlaysBuilder = channels: [
inputs.agenix.overlay
inputs.emacs-overlay.overlay
inputs.emacs.overlays.default
inputs.howdy.overlays.default
inputs.hypr-contrib.overlays.default
inputs.hyprland.overlays.default

View File

@ -8,6 +8,7 @@
with lib;
let
cfg = config.my.programs.emacs;
myEmacs = pkgs.emacsPgtkWithPackages;
in
{
options.my.programs.emacs.enable = mkEnableOption "emacs";
@ -20,24 +21,12 @@ in
emacs-all-the-icons-fonts
(iosevka-bin.override { variant = "aile"; })
];
users.users.moritz.packages = with pkgs; [
myEmacs
(ripgrep.override { withPCRE2 = true; })
# flyspell
(hunspellWithDicts (with hunspellDicts; [
en_GB-ize
en_US
de_DE
]))
# language servers
nil
];
users.users.moritz.packages = [ myEmacs ];
home-manager.users.moritz = {
home.sessionPath = [ "/home/moritz/.config/emacs/bin/" ];
services.emacs = {
enable = true;
package = pkgs.myEmacs;
package = myEmacs;
};
};
};

View File

@ -1,6 +1,4 @@
{ inputs }: final: prev: {
myEmacs = inputs.emacs.packages.${prev.system}.default;
logseq-wayland = prev.symlinkJoin {
name = "logseq-wayland";
paths = [ prev.logseq ];