add it back again
This commit is contained in:
parent
46ccb7c1b0
commit
7a1e9416d4
2 changed files with 37 additions and 37 deletions
10
flake.nix
10
flake.nix
|
@ -21,10 +21,10 @@
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
# emacs-overlay = {
|
emacs-overlay = {
|
||||||
# url = "github:nix-community/emacs-overlay";
|
url = "github:nix-community/emacs-overlay";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
home-manager,
|
home-manager,
|
||||||
NixOS-WSL,
|
NixOS-WSL,
|
||||||
sops-nix,
|
sops-nix,
|
||||||
# emacs-overlay,
|
emacs-overlay,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
|
|
@ -16,39 +16,39 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
# inputs.emacs-overlay.overlay
|
inputs.emacs-overlay.overlay
|
||||||
# ];
|
];
|
||||||
# # ues daemon
|
# ues daemon
|
||||||
# services.emacs = {
|
services.emacs = {
|
||||||
# enable = cfg.daemon;
|
enable = cfg.daemon;
|
||||||
# install = true;
|
install = true;
|
||||||
# # package = pkgs.emacs29-pgtk;
|
# package = pkgs.emacs29-pgtk;
|
||||||
# package = pkgs.emacsWithPackagesFromUsePackage {
|
package = pkgs.emacsWithPackagesFromUsePackage {
|
||||||
# config = ../../../../config/emacs/emacs.org;
|
config = ../../../../config/emacs/emacs.org;
|
||||||
# package = pkgs.emacs-pgtk;
|
package = pkgs.emacs-pgtk;
|
||||||
# alwaysEnsure = true;
|
alwaysEnsure = true;
|
||||||
# alwaysTangle = true;
|
alwaysTangle = true;
|
||||||
# extraEmacsPackages = epkgs: [
|
extraEmacsPackages = epkgs: [
|
||||||
# epkgs.use-package
|
epkgs.use-package
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# users.users.sako.packages = with pkgs; [
|
users.users.sako.packages = with pkgs; [
|
||||||
# # direnv
|
# direnv
|
||||||
# direnv
|
direnv
|
||||||
# ];
|
];
|
||||||
|
|
||||||
# home-manager.users.sako = {lib, ...}: {
|
home-manager.users.sako = {lib, ...}: {
|
||||||
# home.file = {
|
home.file = {
|
||||||
# ".emacs.d/init.el".source = pkgs.runCommand "init.el" {} ''
|
".emacs.d/init.el".source = pkgs.runCommand "init.el" {} ''
|
||||||
# cp ${../../../../config/emacs/emacs.org} emacs.org
|
cp ${../../../../config/emacs/emacs.org} emacs.org
|
||||||
# ${pkgs.emacs}/bin/emacs -Q --batch ./emacs.org -f org-babel-tangle
|
${pkgs.emacs}/bin/emacs -Q --batch ./emacs.org -f org-babel-tangle
|
||||||
# mv init.el $out
|
mv init.el $out
|
||||||
# '';
|
'';
|
||||||
# ".emacs.d/dashboard.png".source = ../../../../config/emacs/dashboard.png;
|
".emacs.d/dashboard.png".source = ../../../../config/emacs/dashboard.png;
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||||
|
|
Loading…
Reference in a new issue