restructure home as submodule of each system
This commit is contained in:
parent
ed8de34c0f
commit
88ad3517bf
26 changed files with 6 additions and 6 deletions
18
modules/server/home/default.nix
Normal file
18
modules/server/home/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
../../system/home/direnv
|
||||
../../system/home/editor
|
||||
../../system/home/git
|
||||
../../system/home/shell
|
||||
./server-utils
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "twoneis";
|
||||
homeDirectory = "/home/twoneis";
|
||||
|
||||
stateVersion = "22.11";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
43
modules/server/home/server-utils/default.nix
Normal file
43
modules/server/home/server-utils/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
man-pages
|
||||
man-pages-posix
|
||||
tree
|
||||
zip
|
||||
unzip
|
||||
];
|
||||
|
||||
programs.man = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.bottom = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.lsd = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
};
|
||||
|
||||
programs.hyfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preset = "transgender";
|
||||
mode = "rgb";
|
||||
light_dark = "dark";
|
||||
lightness = 0.65;
|
||||
color_align = {
|
||||
mode = "horizontal";
|
||||
custom_colors = [];
|
||||
fore_back = null;
|
||||
};
|
||||
backend = "neofetch";
|
||||
args = null;
|
||||
distro = "nixos_old";
|
||||
pride_month_shown = [];
|
||||
pride_month_disable = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue