75 lines
1.4 KiB
Nix
75 lines
1.4 KiB
Nix
{ self, pkgs, lib, ... }@inputs:
|
|
|
|
{
|
|
xdg.configFile."nixpkgs/config.nix".text = ''
|
|
{ allowUnfree = true; }
|
|
'';
|
|
|
|
home.packages = with pkgs; [
|
|
discord-canary
|
|
bitwarden
|
|
zoom-us # Class Requirement
|
|
];
|
|
|
|
gtk = {
|
|
enable = true;
|
|
gtk3.extraConfig = {
|
|
gtk-application-prefer-dark-theme = 1;
|
|
};
|
|
};
|
|
programs.feh.enable = true;
|
|
programs.kitty = {
|
|
enable = true;
|
|
font = {
|
|
name = "JetBrains Mono";
|
|
size = 12;
|
|
};
|
|
};
|
|
programs.neovim = {
|
|
enable = true;
|
|
coc.enable = true;
|
|
vimAlias = true;
|
|
withNodeJs = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
coc-nvim
|
|
coc-clangd
|
|
coc-spell-checker # NOTE: Broken in nixpkgs. Overridden in config/common.nix and pkg/default.nix.
|
|
vim-airline
|
|
onedark-vim
|
|
];
|
|
extraConfig = builtins.readFile ./vimrc;
|
|
};
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableSyntaxHighlighting = true;
|
|
plugins = [
|
|
{
|
|
name = "powerlevel10k";
|
|
src = pkgs.zsh-powerlevel10k;
|
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
}
|
|
{
|
|
name = "p10k-config";
|
|
src = lib.cleanSource ./p10k-config;
|
|
file = "p10k.zsh";
|
|
}
|
|
];
|
|
sessionVariables = {
|
|
EDITOR = "vim";
|
|
};
|
|
};
|
|
services.flameshot.enable = true;
|
|
services.polybar = {
|
|
enable = true;
|
|
script = "polybar bar &";
|
|
};
|
|
xsession = {
|
|
enable = true;
|
|
numlock.enable = true;
|
|
windowManager.i3 = {
|
|
enable = true;
|
|
config = import ./i3.nix inputs;
|
|
};
|
|
};
|
|
}
|