major home-manager changes

This commit is contained in:
2021-05-02 09:24:02 +05:30
parent da3ef21ccd
commit 70b18cf4fd
33 changed files with 1115 additions and 37 deletions

37
home/modules/programs.nix Normal file
View File

@@ -0,0 +1,37 @@
{ pkgs, config, ...}:
{
imports = [
./programs/nvim.nix
];
programs = {
firefox = {
enable = true;
package = pkgs.firefox-bin;
profiles.natto = {
name = "natto";
userChrome = builtins.readFile ../config/firefox/userChrome.css;
userContent = builtins.readFile ../config/firefox/userContent.css;
};
};
zathura = {
enable = true;
extraConfig = builtins.readFile ../config/zathura/zathurarc;
options = {
recolor = true;
recolor-lightcolor = "rgba(0,0,0,0)";
default-bg = "rgba(0,0,0,0.7)";
};
};
ncmpcpp = {
enable = true;
};
mpv = {
enable = true;
config = {
force-window = "yes";
keep-open = "yes";
save-position-on-quit = "yes";
};
};
};
}