Compare commits
6 Commits
8cd920aa93
...
d14929980f
Author | SHA1 | Date | |
---|---|---|---|
d14929980f | |||
c76b9cc1c4 | |||
91cb949210 | |||
c61c949102 | |||
92200c7120 | |||
0cb3c0de65 |
@@ -1,23 +1,35 @@
|
|||||||
{ config, pkgs, nur, ... }: let
|
{ config, pkgs, nur, ... }:
|
||||||
|
|
||||||
earlyInitPath = "/home/chase/nixos-config/home/emacs/early-init.el";
|
|
||||||
initPath = "/home/chase/nixos-config/home/emacs/init.el";
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
home.username = "chase";
|
home.username = "chase";
|
||||||
home.homeDirectory = "/home/chase";
|
home.homeDirectory = "/home/chase";
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
"scripts" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink ./scripts;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.sessionPath = [
|
||||||
|
"$HOME/scripts"
|
||||||
|
];
|
||||||
|
|
||||||
home.preferXdgDirectories = true;
|
home.preferXdgDirectories = true;
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
|
configFile = {
|
||||||
|
"emacs/early-init.el" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
||||||
|
};
|
||||||
|
"emacs/init.el" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."emacs/early-init.el".source = config.lib.file.mkOutOfStoreSymlink earlyInitPath;
|
|
||||||
xdg.configFile."emacs/init.el".source = config.lib.file.mkOutOfStoreSymlink initPath;
|
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Reference in New Issue
Block a user