nixcfg/homes/aly/default.nix

94 lines
1.9 KiB
Nix
Raw Normal View History

self: {
config,
lib,
pkgs,
...
2024-07-13 21:24:21 -04:00
}: let
unstable = import self.inputs.nixpkgs-unstable {
system = pkgs.system;
};
in {
imports = [
./firefox
2024-06-29 12:04:53 -04:00
./mail
./windowManagers
self.homeManagerModules.default
self.inputs.agenix.homeManagerModules.default
self.inputs.nixvim.homeManagerModules.nixvim
self.inputs.nur.hmModules.nur
];
2024-06-11 13:31:10 -04:00
home = {
homeDirectory = "/home/aly";
2024-06-24 00:39:36 -04:00
file."${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx";
};
2024-06-24 00:39:36 -04:00
2024-07-13 21:24:21 -04:00
packages = [
2024-07-13 18:32:53 -04:00
pkgs.browsh
pkgs.curl
pkgs.fractal
pkgs.git
2024-07-14 18:31:42 -04:00
pkgs.gitui
2024-07-13 18:32:53 -04:00
pkgs.obsidian
pkgs.python3
pkgs.ruby
pkgs.tauon
pkgs.webcord
];
2024-06-24 00:39:36 -04:00
stateVersion = "24.05";
username = "aly";
2024-06-11 13:31:10 -04:00
};
programs = {
git = {
enable = true;
2024-07-03 16:43:03 -04:00
lfs.enable = true;
2024-06-11 13:31:10 -04:00
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;
};
};
2024-06-11 13:31:10 -04:00
};
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;
2024-05-04 07:02:48 -04:00
fastfetch.enable = true;
2024-05-28 23:17:37 -04:00
firefox.enable = true;
2024-06-21 22:19:28 -04:00
keepassxc.enable = true;
2024-05-28 23:17:37 -04:00
tmux.enable = true;
vsCodium.enable = true;
2024-07-13 21:24:21 -04:00
zed.enable = true;
zed.package = unstable.zed-editor;
};
2024-06-21 17:24:33 -04:00
2024-06-28 21:07:20 -04:00
defaultApps.enable = true;
theme = {
2024-06-28 21:07:20 -04:00
enable = true;
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-3led2d.jpg";
};
};
}