Rename system
to lib
This commit is contained in:
parent
cf4c9710a2
commit
addad268e5
18 changed files with 2 additions and 2 deletions
lib/shared
60
lib/shared/home-manager.nix
Normal file
60
lib/shared/home-manager.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
username,
|
||||
self,
|
||||
}: {
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
|
||||
home.stateVersion = "22.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
(import ./modules/neovim.nix {inherit inputs;})
|
||||
./modules/git.nix
|
||||
./modules/starship.nix
|
||||
./modules/tmux.nix
|
||||
./modules/zsh.nix
|
||||
];
|
||||
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
programs.bat.enable = true;
|
||||
|
||||
home.file."logo.txt" = {
|
||||
source = pkgs.copyPathToStore "${self}/logo.txt";
|
||||
target = "logo.txt";
|
||||
};
|
||||
|
||||
programs.lsd.enable = true;
|
||||
|
||||
programs.nnn.enable = true;
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
home.sessionPath = ["$HOME/.config/bin"];
|
||||
|
||||
xdg.configFile."ripgrep/config".text = ''
|
||||
--follow
|
||||
--smart-case
|
||||
'';
|
||||
|
||||
xdg.configFile.bin = {
|
||||
source = ../../bin;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
xdg.configFile.phpactor = {
|
||||
source = ../../config/phpactor;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue