Switch back to Vim
- Change default editor back to vim since doom-emacs is broken at the moment - Conditionally include emacs or vim nix files in configuration.nix - User username to find dwm-flexipatch path on system - Add tree and btop to miscellaneous system packages - Add some cli tools like just and git to home-manager packages - Add more XDG env vars for config and cache
This commit is contained in:
8
user/development/cli.nix
Normal file
8
user/development/cli.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
git
|
||||
just
|
||||
]);
|
||||
}
|
@@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, userSettings, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./vscode.nix
|
||||
./doom-emacs.nix
|
||||
./cli.nix
|
||||
];
|
||||
}
|
||||
|
@@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, userSettings, ... }:
|
||||
|
||||
{
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
doomPrivateDir = ~/.config/doom-emacs-config;
|
||||
doomPrivateDir = (/home + "/${userSettings.username}" + /.config/doom-emacs-config);
|
||||
};
|
||||
}
|
||||
|
7
user/development/vim.nix
Normal file
7
user/development/vim.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
vim
|
||||
]);
|
||||
}
|
@@ -15,6 +15,8 @@
|
||||
publicShare = null;
|
||||
extraConfig = {
|
||||
XDG_GAME_DIR = "${config.home.homeDirectory}/Games";
|
||||
XDG_CONFIG_HOME = "${config.home.homeDirectory}/.config";
|
||||
XDG_CACHE_HOME = "${config.home.homeDirectory}/.cache";
|
||||
};
|
||||
};
|
||||
xdg.mime.enable = true;
|
||||
|
Reference in New Issue
Block a user