refactor: move crumb bash to msyds
This commit is contained in:
@@ -1,15 +1,17 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.sydnix.users.crumb.bash;
|
cfg = config.sydnix.users.msyds.bash;
|
||||||
in {
|
in {
|
||||||
options.sydnix.users.crumb.bash.enable = lib.mkEnableOption "Bash, à la crumb";
|
options.sydnix.users.msyds.bash.enable =
|
||||||
|
lib.mkEnableOption "Bash, à la msyds";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellOptions = [
|
shellOptions = [
|
||||||
# Correct minor typos in cd commands.
|
# Correct minor typos in cd commands.
|
||||||
"cdspell"
|
"cdspell"
|
||||||
|
# Implicitly prepend `cd` to directory names.
|
||||||
"autocd"
|
"autocd"
|
||||||
# Extra glob power.
|
# Extra glob power.
|
||||||
"extglob"
|
"extglob"
|
||||||
@@ -52,7 +52,6 @@
|
|||||||
};
|
};
|
||||||
# Personal configurations.
|
# Personal configurations.
|
||||||
users.crumb = {
|
users.crumb = {
|
||||||
bash.enable = true;
|
|
||||||
direnv.enable = true;
|
direnv.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
nvim.enable = true;
|
nvim.enable = true;
|
||||||
@@ -68,6 +67,7 @@
|
|||||||
};
|
};
|
||||||
users.msyds = {
|
users.msyds = {
|
||||||
discord.enable = true;
|
discord.enable = true;
|
||||||
|
bash.enable = true;
|
||||||
hunspell.enable = true;
|
hunspell.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
impermanence.enable = true;
|
impermanence.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user