mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 15:43:55 -05:00
Aly Raffauf
945fbdcc39
* initial commit * simplify output structure * don't pull wallpaper from flake, use fetchGit * swap nixvim for neovim * fetch wallpaper correctly * move nixvim to aly home config
90 lines
1.7 KiB
Nix
90 lines
1.7 KiB
Nix
self: {
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./firefox
|
|
./mail
|
|
./windowManagers
|
|
self.homeManagerModules.default
|
|
self.inputs.agenix.homeManagerModules.default
|
|
self.inputs.nixvim.homeManagerModules.nixvim
|
|
self.inputs.nur.hmModules.nur
|
|
];
|
|
|
|
home = {
|
|
homeDirectory = "/home/aly";
|
|
|
|
file."${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
|
|
General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx";
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
browsh
|
|
curl
|
|
fractal
|
|
gh
|
|
git
|
|
obsidian
|
|
python3
|
|
ruby
|
|
tauon
|
|
webcord
|
|
wget
|
|
];
|
|
|
|
stateVersion = "24.05";
|
|
username = "aly";
|
|
};
|
|
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
userName = "Aly Raffauf";
|
|
userEmail = "aly@raffauflabs.com";
|
|
};
|
|
|
|
home-manager.enable = true;
|
|
|
|
nixvim = {
|
|
enable = true;
|
|
colorschemes.ayu.enable = true;
|
|
|
|
plugins = {
|
|
lightline.enable = true;
|
|
markdown-preview.enable = true;
|
|
neo-tree.enable = true;
|
|
neogit.enable = true;
|
|
nix.enable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
|
|
|
|
ar.home = {
|
|
apps = {
|
|
alacritty.enable = true;
|
|
bash.enable = true;
|
|
chromium.enable = true;
|
|
emacs.enable = true;
|
|
fastfetch.enable = true;
|
|
firefox.enable = true;
|
|
keepassxc.enable = true;
|
|
neovim.enable = true;
|
|
tmux.enable = true;
|
|
vsCodium.enable = true;
|
|
};
|
|
|
|
defaultApps.enable = true;
|
|
|
|
theme = {
|
|
enable = true;
|
|
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-3led2d.jpg";
|
|
};
|
|
};
|
|
}
|