Merge home-manager into master
This commit is contained in:
commit
07c569de37
4 changed files with 85 additions and 10 deletions
|
@ -15,5 +15,20 @@
|
|||
src = fishPlugins.hydro.src;
|
||||
}
|
||||
];
|
||||
interactiveShellInit = ''
|
||||
fish_config theme choose 'ayu Dark'
|
||||
fish_config prompt choose arrow
|
||||
${pkgs.nix-your-shell}/bin/nix-your-shell fish | source
|
||||
function fish_right_prompt
|
||||
if test -n "$IN_NIX_SHELL"
|
||||
echo -n "<nix-shell>"
|
||||
else if test $SHLVL -ge 3
|
||||
echo -n "<🚀lv$SHLVL>"
|
||||
end
|
||||
end
|
||||
'';
|
||||
functions = {
|
||||
gitignore = "curl -sL https://www.gitignore.io/api/$argv";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
15
home/xin/gold/default.nix
Normal file
15
home/xin/gold/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, home-manager, ... }:
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
../common
|
||||
{
|
||||
home.username = "xin";
|
||||
home.homeDirectory = "/home/xin";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue