feat: move bashdots.nix to common

This commit is contained in:
matt1432 2023-10-15 14:37:57 -04:00
parent fa6be53b31
commit c40db05893
8 changed files with 8 additions and 15 deletions

View file

@ -27,7 +27,8 @@
home-manager.users = let
default = {
imports = [
./modules/neovim/nvim.nix
./modules/neovim
./modules/bash
];
home.stateVersion = lib.mkDefault "23.05";
};

View file

@ -1,3 +1,5 @@
# Home-manager module
{ lib, ... }:
{
@ -146,11 +148,11 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc
'';
bashrcExtra = ''
${lib.strings.fileContents ../config/bash/dracula/less.sh}
${lib.strings.fileContents ../config/bash/dracula/fzf.sh}
${lib.strings.fileContents ./config/dracula/less.sh}
${lib.strings.fileContents ./config/dracula/fzf.sh}
${lib.strings.fileContents ../config/bash/colorgrid.sh}
${lib.strings.fileContents ../config/bash/bashrc}
${lib.strings.fileContents ./config/colorgrid.sh}
${lib.strings.fileContents ./config/bashrc}
'';
#initExtra = ''
#'';

View file

@ -18,15 +18,6 @@
# TODO: use hm for tmux
home-manager.users = {
root = {
imports = [
./bashdots.nix
];
home.stateVersion = "23.05";
};
matt = {
imports = [
@ -34,7 +25,6 @@
./dconf.nix
./theme.nix
./hyprland.nix
./bashdots.nix
./dotfiles.nix
./packages.nix
./firefox/main.nix