Install spacemacs
This commit is contained in:
parent
19b450eca9
commit
01762d4283
|
@ -25,6 +25,7 @@ in {
|
||||||
slurp
|
slurp
|
||||||
imv
|
imv
|
||||||
|
|
||||||
|
emacs
|
||||||
direnv
|
direnv
|
||||||
nix-direnv-with-flakes
|
nix-direnv-with-flakes
|
||||||
];
|
];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
home.username = username;
|
home.username = username;
|
||||||
home.homeDirectory = "/home/" + username;
|
home.homeDirectory = "/home/" + username;
|
||||||
|
|
||||||
imports = [ ./shell ./wayland ];
|
imports = [ ./shell ./wayland ./spacemacs.nix ];
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
xdg.userDirs.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",
|
"home-manager": "home-manager",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,6 +9,9 @@ inputs = rec {
|
||||||
|
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
spacemacs.url = "github:syl20bnr/spacemacs/develop";
|
||||||
|
spacemacs.flake = false;
|
||||||
};
|
};
|
||||||
outputs = { self,
|
outputs = { self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
|
Loading…
Reference in a new issue