Install spacemacs
This commit is contained in:
parent
19b450eca9
commit
01762d4283
|
@ -25,6 +25,7 @@ in {
|
|||
slurp
|
||||
imv
|
||||
|
||||
emacs
|
||||
direnv
|
||||
nix-direnv-with-flakes
|
||||
];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
home.username = username;
|
||||
home.homeDirectory = "/home/" + username;
|
||||
|
||||
imports = [ ./shell ./wayland ];
|
||||
imports = [ ./shell ./wayland ./spacemacs.nix ];
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.userDirs.enable = true;
|
||||
|
|
10
common/home-manager/spacemacs.nix
Normal file
10
common/home-manager/spacemacs.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, spacemacs, ... }:
|
||||
{
|
||||
# Set up spacemacs using local emacs config
|
||||
|
||||
home.file.".emacs.d" = {
|
||||
recursive = true;
|
||||
source = spacemacs;
|
||||
};
|
||||
}
|
||||
|
20
flake.lock
20
flake.lock
|
@ -71,7 +71,25 @@
|
|||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nur": "nur"
|
||||
"nur": "nur",
|
||||
"spacemacs": "spacemacs"
|
||||
}
|
||||
},
|
||||
"spacemacs": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1649271578,
|
||||
"narHash": "sha256-xKSjb88YL5fByieMnaLscLRVfyV22fdzxRyHSNj3J9g=",
|
||||
"owner": "syl20bnr",
|
||||
"repo": "spacemacs",
|
||||
"rev": "5c0650282fe09f852ecd4109bf2a6bc9cb5a950b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "syl20bnr",
|
||||
"ref": "develop",
|
||||
"repo": "spacemacs",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue