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 home-manager.users = let
default = { default = {
imports = [ imports = [
./modules/neovim/nvim.nix ./modules/neovim
./modules/bash
]; ];
home.stateVersion = lib.mkDefault "23.05"; home.stateVersion = lib.mkDefault "23.05";
}; };

View file

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

View file

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