nixcfg/homes/aly/default.nix

145 lines
3 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
2024-07-22 20:01:02 -04:00
./secrets.nix
./windowManagers
self.homeManagerModules.default
self.inputs.agenix.homeManagerModules.default
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
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-24 00:39:36 -04:00
2024-07-13 21:24:21 -04:00
packages = [
pkgs.bitwarden-desktop
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
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 config.programs.vscode.package} --wait";
2024-07-15 15:46:11 -04:00
github.user = "alyraffauf";
push.autoSetupRemote = true;
};
2024-06-11 13:31:10 -04:00
};
gitui.enable = true;
helix.settings.theme = "rose-pine-moon";
home-manager.enable = true;
kitty.theme = "Rosé Pine Moon";
rbw = {
enable = true;
2024-08-04 00:03:18 -04:00
package = pkgs.rbw;
settings = {
email = "alyraffauf@fastmail.com";
2024-08-02 13:36:12 -04:00
lock_timeout = 14400;
pinentry = pkgs.pinentry-gnome3;
};
};
2024-06-11 13:31:10 -04:00
};
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
ar.home = {
apps = {
backblaze = {
enable = true;
keyIdFile = config.age.secrets.backblazeKeyId.path;
keyFile = config.age.secrets.backblazeKey.path;
};
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;
kitty.enable = true;
shell.enable = true;
2024-05-28 23:17:37 -04:00
tmux.enable = true;
vsCodium.enable = true;
2024-07-24 16:54:34 -04:00
yazi.enable = true;
2024-07-15 10:36:46 -04:00
zed = {
enable = true;
package = unstable.zed-editor;
settings = {
auto_install_extensions = {nord = true;};
theme = {
dark = "Rosé Pine Moon";
light = "Rosé Pine Dawn";
mode = "system";
};
};
2024-07-15 10:36:46 -04:00
};
};
2024-06-21 17:24:33 -04:00
2024-08-04 15:32:27 -04:00
defaultApps = {
enable = true;
editor = config.ar.home.apps.zed.package;
fileManager = pkgs.xfce.thunar;
2024-08-04 15:32:27 -04:00
};
services = {
gammastep.enable = true;
randomWallpaper.enable = true;
};
theme = {
2024-06-28 21:07:20 -04:00
enable = true;
borderRadius = 0;
colors = {
text = "#e0def4";
background = "#2a273f";
primary = "#3e8fb0";
secondary = "#f6c177";
inactive = "#393552";
shadow = "#232136";
};
2024-08-06 23:10:27 -04:00
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-6d7xmx.jpg";
};
};
}