nixcfg/homes/aly/default.nix

81 lines
1.6 KiB
Nix
Raw Normal View History

{
config,
inputs,
lib,
pkgs,
self,
...
2024-06-04 02:03:15 -04:00
}: {
imports = [
./firefox
2024-06-29 12:04:53 -04:00
./mail
./windowManagers
];
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-06-11 13:31:10 -04:00
packages = with pkgs; [
browsh
curl
fractal
gh
git
obsidian
python3
ruby
tauon
webcord
wget
];
2024-06-24 00:39:36 -04:00
stateVersion = "24.05";
username = "aly";
2024-06-11 13:31:10 -04:00
};
programs = {
home-manager.enable = true;
2024-06-24 00:39:36 -04:00
2024-06-11 13:31:10 -04:00
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";
};
};
wayland.windowManager.hyprland.extraConfig = ''
bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"}
windowrulev2 = center(1),class:(org.keepassxc.KeePassXC)
windowrulev2 = float,class:(org.keepassxc.KeePassXC)
windowrulev2 = size 80% 80%,class:(org.keepassxc.KeePassXC)
'';
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;
neovim.enable = true;
2024-05-28 23:17:37 -04:00
tmux.enable = true;
vsCodium.enable = true;
};
2024-06-21 17:24:33 -04:00
2024-06-28 21:07:20 -04:00
defaultApps.enable = true;
desktop.startupApps = [(lib.getExe' pkgs.keepassxc "keepassxc")];
theme = {
2024-06-28 21:07:20 -04:00
enable = true;
wallpaper = "${pkgs.alyraffauf-wallpapers}/share/backgrounds/wallhaven-3led2d.jpg";
};
};
}