2024-07-09 19:17:53 -04:00
|
|
|
self: {
|
2024-04-18 14:21:33 -04:00
|
|
|
config,
|
|
|
|
lib,
|
2024-06-11 14:25:31 -04:00
|
|
|
pkgs,
|
2024-04-18 14:21:33 -04:00
|
|
|
...
|
2024-07-13 21:24:21 -04:00
|
|
|
}: let
|
|
|
|
unstable = import self.inputs.nixpkgs-unstable {
|
|
|
|
system = pkgs.system;
|
|
|
|
};
|
|
|
|
in {
|
2024-06-27 22:36:06 -04:00
|
|
|
imports = [
|
|
|
|
./firefox
|
2024-06-29 12:04:53 -04:00
|
|
|
./mail
|
2024-07-22 20:01:02 -04:00
|
|
|
./secrets.nix
|
2024-06-29 12:40:18 -04:00
|
|
|
./windowManagers
|
2024-07-09 19:17:53 -04:00
|
|
|
self.homeManagerModules.default
|
|
|
|
self.inputs.agenix.homeManagerModules.default
|
|
|
|
self.inputs.nur.hmModules.nur
|
2024-06-27 22:36:06 -04:00
|
|
|
];
|
|
|
|
|
2024-06-11 13:31:10 -04:00
|
|
|
home = {
|
|
|
|
homeDirectory = "/home/aly";
|
2024-06-24 00:39:36 -04:00
|
|
|
|
2024-07-17 13:42:59 -04:00
|
|
|
file = {
|
|
|
|
"${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
|
|
|
|
General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx";
|
|
|
|
};
|
2024-06-17 16:31:54 -04:00
|
|
|
};
|
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:41:10 -04:00
|
|
|
pkgs.nicotine-plus
|
2024-07-13 18:32:53 -04:00
|
|
|
pkgs.obsidian
|
2024-07-14 18:41:10 -04:00
|
|
|
pkgs.picard
|
2024-07-13 18:32:53 -04:00
|
|
|
pkgs.tauon
|
2024-07-17 13:42:59 -04:00
|
|
|
pkgs.transmission-remote-gtk
|
2024-07-13 18:32:53 -04:00
|
|
|
pkgs.webcord
|
|
|
|
];
|
2024-06-24 00:39:36 -04:00
|
|
|
|
2024-06-17 16:31:54 -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";
|
2024-07-15 15:46:11 -04:00
|
|
|
|
|
|
|
extraConfig = {
|
|
|
|
color.ui = true;
|
|
|
|
core.editor = "${lib.getExe unstable.zed-editor} --wait";
|
|
|
|
github.user = "alyraffauf";
|
|
|
|
push.autoSetupRemote = true;
|
|
|
|
};
|
2024-06-11 13:31:10 -04:00
|
|
|
};
|
2024-07-09 19:17:53 -04:00
|
|
|
|
2024-07-15 16:40:26 -04:00
|
|
|
gitui.enable = true;
|
2024-07-09 19:17:53 -04:00
|
|
|
home-manager.enable = true;
|
2024-06-11 13:31:10 -04:00
|
|
|
};
|
|
|
|
|
2024-07-07 16:11:00 -04:00
|
|
|
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
|
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
ar.home = {
|
2024-04-18 14:21:33 -04:00
|
|
|
apps = {
|
2024-07-16 12:44:50 -04:00
|
|
|
backblaze = {
|
|
|
|
enable = true;
|
|
|
|
keyIdFile = config.age.secrets.backblazeKeyId.path;
|
|
|
|
keyFile = config.age.secrets.backblazeKey.path;
|
|
|
|
};
|
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
bash.enable = true;
|
2024-07-01 22:59:41 -04:00
|
|
|
chromium.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-07-24 09:26:00 -04:00
|
|
|
helix.enable = true;
|
2024-06-21 22:19:28 -04:00
|
|
|
keepassxc.enable = true;
|
2024-07-24 08:25:28 -04:00
|
|
|
kitty.enable = true;
|
2024-05-28 23:17:37 -04:00
|
|
|
tmux.enable = true;
|
2024-07-15 10:36:46 -04:00
|
|
|
|
|
|
|
zed = {
|
|
|
|
enable = true;
|
|
|
|
package = unstable.zed-editor;
|
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
2024-06-21 17:24:33 -04:00
|
|
|
|
2024-07-15 10:36:46 -04:00
|
|
|
defaultApps = {
|
|
|
|
enable = true;
|
|
|
|
editor = config.ar.home.apps.zed.package;
|
|
|
|
};
|
2024-06-11 17:49:50 -04:00
|
|
|
|
|
|
|
theme = {
|
2024-06-28 21:07:20 -04:00
|
|
|
enable = true;
|
2024-07-09 19:17:53 -04:00
|
|
|
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-3led2d.jpg";
|
2024-06-11 17:49:50 -04:00
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
}
|