Add crafted-emacs as submodule instead of flake input

This commit is contained in:
Evie Litherland-Smith 2023-10-24 10:55:56 +01:00
parent f433063be4
commit afef99d596
5 changed files with 6 additions and 23 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "crafted-emacs"]
path = home/emacs/crafted-emacs
url = https://github.com/SystemCrafters/crafted-emacs.git

View file

@ -166,22 +166,6 @@
"type": "github" "type": "github"
} }
}, },
"crafted-emacs": {
"flake": false,
"locked": {
"lastModified": 1697837545,
"narHash": "sha256-Sucimd2VjeUZ3GZ7kC1W+ix9t30npaHuZgjdvhHuTCU=",
"owner": "SystemCrafters",
"repo": "crafted-emacs",
"rev": "bc6618a2950e354cc6b1bc24c63f3b2c6d71141b",
"type": "github"
},
"original": {
"owner": "SystemCrafters",
"repo": "crafted-emacs",
"type": "github"
}
},
"crane": { "crane": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
@ -679,7 +663,6 @@
"root": { "root": {
"inputs": { "inputs": {
"anyrun": "anyrun", "anyrun": "anyrun",
"crafted-emacs": "crafted-emacs",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",

View file

@ -25,10 +25,6 @@
}; };
# Non-flake inputs # Non-flake inputs
crafted-emacs = {
url = "github:SystemCrafters/crafted-emacs";
flake = false;
};
tokyonight-folke = { tokyonight-folke = {
url = "github:folke/tokyonight.nvim"; url = "github:folke/tokyonight.nvim";
flake = false; flake = false;

@ -0,0 +1 @@
Subproject commit bc6618a2950e354cc6b1bc24c63f3b2c6d71141b

View file

@ -1,4 +1,4 @@
{ config, pkgs, crafted-emacs, ... }: { config, pkgs, ... }:
{ {
stylix.targets.emacs.enable = false; stylix.targets.emacs.enable = false;
@ -6,7 +6,7 @@
"emacs/init.el".source = ./init.el; "emacs/init.el".source = ./init.el;
"emacs/elfeed.org".source = ./elfeed.org; "emacs/elfeed.org".source = ./elfeed.org;
"emacs/modules".source = ./modules; "emacs/modules".source = ./modules;
"emacs/crafted-emacs".source = crafted-emacs; "emacs/crafted-emacs".source = ./crafted-emacs;
}; };
services.git-sync = { services.git-sync = {
enable = true; enable = true;