nixcfg/homes/aly/default.nix
Aly Raffauf b68444f5c3
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
aly: removea unstable nixpkgs instance
2024-08-10 13:26:39 -04:00

135 lines
2.8 KiB
Nix

self: {
config,
lib,
pkgs,
...
}: {
imports = [
./firefox
./mail
./secrets.nix
./windowManagers
self.homeManagerModules.default
self.inputs.agenix.homeManagerModules.default
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 = [
pkgs.bitwarden-desktop
pkgs.browsh
pkgs.curl
pkgs.fractal
pkgs.git
pkgs.nicotine-plus
pkgs.obsidian
pkgs.picard
pkgs.tauon
pkgs.transmission-remote-gtk
pkgs.webcord
];
stateVersion = "24.05";
username = "aly";
};
programs = {
git = {
enable = true;
lfs.enable = true;
userName = "Aly Raffauf";
userEmail = "aly@raffauflabs.com";
extraConfig = {
color.ui = true;
core.editor = "${lib.getExe config.ar.home.apps.zed.package} --wait";
github.user = "alyraffauf";
push.autoSetupRemote = true;
};
};
gitui.enable = true;
helix.settings.theme = "rose-pine-moon";
home-manager.enable = true;
kitty.theme = "Rosé Pine Moon";
rbw = {
enable = true;
settings = {
email = "alyraffauf@fastmail.com";
lock_timeout = 14400;
pinentry = pkgs.pinentry-gnome3;
};
};
};
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;
fastfetch.enable = true;
firefox.enable = true;
helix.enable = true;
keepassxc.enable = true;
kitty.enable = true;
shell.enable = true;
tmux.enable = true;
vsCodium.enable = true;
yazi.enable = true;
zed = {
enable = true;
settings.theme = {
dark = "Rosé Pine Moon";
light = "Rosé Pine Dawn";
mode = "system";
};
};
};
defaultApps = {
enable = true;
editor = config.ar.home.apps.zed.package;
fileManager = pkgs.xfce.thunar;
};
services = {
gammastep.enable = true;
randomWallpaper.enable = true;
};
theme = {
enable = true;
borderRadius = 0;
colors = {
text = "#e0def4";
background = "#2a273f";
primary = "#3e8fb0";
secondary = "#f6c177";
inactive = "#393552";
shadow = "#232136";
};
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-6d7xmx.jpg";
};
};
}