2021-09-11 14:41:24 +07:00
|
|
|
{ self, pkgs, lib, ... }@inputs:
|
2021-09-11 12:05:37 +07:00
|
|
|
|
|
|
|
{
|
2021-09-11 14:47:31 +07:00
|
|
|
xdg.configFile."nixpkgs/config.nix".text = ''
|
|
|
|
{ allowUnfree = true; }
|
|
|
|
'';
|
|
|
|
|
2021-09-12 14:19:45 +07:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
discord-canary
|
|
|
|
bitwarden
|
|
|
|
zoom-us # Class Requirement
|
|
|
|
];
|
|
|
|
|
2021-09-11 13:28:51 +07:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = 1;
|
|
|
|
};
|
|
|
|
};
|
2021-09-11 14:01:09 +07:00
|
|
|
programs.feh.enable = true;
|
2021-09-11 13:27:37 +07:00
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
|
|
|
font = {
|
|
|
|
name = "JetBrains Mono";
|
|
|
|
size = 12;
|
|
|
|
};
|
|
|
|
};
|
2021-09-12 15:54:45 +07:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
coc.enable = true;
|
|
|
|
vimAlias = true;
|
|
|
|
withNodeJs = true;
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
coc-nvim
|
|
|
|
coc-clangd
|
2021-12-05 00:51:42 +07:00
|
|
|
coc-spell-checker # NOTE: Broken in nixpkgs. Overridden in config/common.nix and pkg/default.nix.
|
2021-09-12 15:54:45 +07:00
|
|
|
vim-airline
|
|
|
|
onedark-vim
|
|
|
|
];
|
|
|
|
extraConfig = builtins.readFile ./vimrc;
|
|
|
|
};
|
2021-09-11 14:25:54 +07:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
enableSyntaxHighlighting = true;
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "powerlevel10k";
|
|
|
|
src = pkgs.zsh-powerlevel10k;
|
|
|
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
|
|
}
|
2021-09-11 14:41:24 +07:00
|
|
|
{
|
|
|
|
name = "p10k-config";
|
|
|
|
src = lib.cleanSource ./p10k-config;
|
|
|
|
file = "p10k.zsh";
|
|
|
|
}
|
2021-09-11 14:25:54 +07:00
|
|
|
];
|
2021-09-12 14:25:24 +07:00
|
|
|
sessionVariables = {
|
|
|
|
EDITOR = "vim";
|
|
|
|
};
|
2021-09-11 14:25:54 +07:00
|
|
|
};
|
2021-09-11 13:28:18 +07:00
|
|
|
services.flameshot.enable = true;
|
2021-09-11 12:05:37 +07:00
|
|
|
services.polybar = {
|
|
|
|
enable = true;
|
|
|
|
script = "polybar bar &";
|
|
|
|
};
|
2021-09-12 14:21:12 +07:00
|
|
|
xsession = {
|
2021-09-11 12:05:37 +07:00
|
|
|
enable = true;
|
2021-09-12 14:21:12 +07:00
|
|
|
numlock.enable = true;
|
|
|
|
windowManager.i3 = {
|
|
|
|
enable = true;
|
|
|
|
config = import ./i3.nix inputs;
|
|
|
|
};
|
2021-09-11 12:05:37 +07:00
|
|
|
};
|
|
|
|
}
|