[Altair] Adds Thunderbird email, protonmail bridge. [Nix] Fixes deprecated expressions

This commit is contained in:
2026-04-21 19:04:47 -07:00
parent 8fbfb551f5
commit 6674ca40fa
9 changed files with 73 additions and 41 deletions

View File

@@ -3,7 +3,7 @@
programs.vscode = { programs.vscode = {
enable = true; enable = true;
extensions = with pkgs.vscode-extensions; [ profiles.default.extensions = with pkgs.vscode-extensions; [
asvetliakov.vscode-neovim # Use embedded neovim editor asvetliakov.vscode-neovim # Use embedded neovim editor
enkia.tokyo-night # Color theme enkia.tokyo-night # Color theme
eamodio.gitlens # Show git info inline eamodio.gitlens # Show git info inline

View File

@@ -0,0 +1,23 @@
_: {
# Proton Mail is fully encrypted on the servers so it doesn't support POP3 or
# IMAP. In order to connect we need to set up a bridge that will download
# the mail and decrypt it locally.
services.protonmail-bridge.enable = true;
programs.thunderbird = {
enable = true;
profiles.drew = {
isDefault = true;
accountsOrder = [ "proton" ];
};
};
accounts.email.accounts.proton = {
enable = true;
primary = true;
address = "drew@blazestar.net";
realName = "Drew Haven";
thunderbird.enable = true;
};
}

View File

@@ -2,27 +2,29 @@
{ {
programs.git = { programs.git = {
enable = true; enable = true;
aliases = { settings = {
"co" = "checkout"; alias = {
"s" = "status"; "co" = "checkout";
"b" = "branch"; "s" = "status";
"r" = "remote"; "b" = "branch";
"amend" = "commit -a --amend --no-edit"; "r" = "remote";
"c" = "commit -am"; "amend" = "commit -a --amend --no-edit";
"l" = "log --oneline"; "c" = "commit -am";
"l" = "log --oneline";
};
extraConfig = {
pull = {
rebase = true;
};
log = {
date = "iso";
};
init = {
defaultBranch = "main";
};
};
# Enable the delta diff pager.
delta.enable = true;
}; };
extraConfig = {
pull = {
rebase = true;
};
log = {
date = "iso";
};
init = {
defaultBranch = "main";
};
};
# Enable the delta diff pager.
delta.enable = true;
}; };
} }

View File

@@ -3,13 +3,13 @@
programs.ssh = { programs.ssh = {
enable = true; enable = true;
# Automatically add keys to agent when used
# Other options are "no" and "confirm"
addKeysToAgent = "yes";
matchBlocks = { matchBlocks = {
"mcp.haven" = { "mcp.haven" = {
user = "drew"; user = "drew";
# Automatically add keys to agent when used
# Other options are "no" and "confirm"
addKeysToAgent = "yes";
}; };
}; };
}; };

View File

@@ -1,11 +1,8 @@
{ ... }: { { ... }:
{
# Enable the X11 windowing system and a display manager # Enable the X11 windowing system and a display manager
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.gdm = {
enable = true;
wayland = true;
};
# displayManager.sddm = { # displayManager.sddm = {
# enable = true; # enable = true;
# wayland.enable = true; # wayland.enable = true;
@@ -17,6 +14,10 @@
variant = ""; variant = "";
}; };
}; };
services.displayManager.gdm = {
enable = true;
wayland = true;
};
# services.displayManager.ly.enable = true; # services.displayManager.ly.enable = true;
# Enable Hyprland so it shows up in the menu # Enable Hyprland so it shows up in the menu

View File

@@ -70,7 +70,7 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View File

@@ -17,6 +17,7 @@ in
"/features/development/typescript.nix" "/features/development/typescript.nix"
"/features/development/vscode.nix" "/features/development/vscode.nix"
"/features/eww" "/features/eww"
"/features/email.nix"
"/features/gaming.nix" "/features/gaming.nix"
"/features/image-editing.nix" "/features/image-editing.nix"
"/features/linux-desktop.nix" "/features/linux-desktop.nix"
@@ -38,9 +39,11 @@ in
home.username = "drew"; home.username = "drew";
home.homeDirectory = "/home/drew"; home.homeDirectory = "/home/drew";
programs.git = { programs.git.settings = {
userName = "Drew Haven"; user = {
userEmail = "drew.haven@gmail.com"; name = "Drew Haven";
email = "drew.haven@gmail.com";
};
}; };
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -10,9 +10,11 @@
home.username = "drew"; home.username = "drew";
home.homeDirectory = "/home/drew"; home.homeDirectory = "/home/drew";
programs.git = { programs.git.settings = {
userName = "Drew Haven"; user = {
userEmail = "drew.haven@gmail.com"; name = "Drew Haven";
email = "drew.haven@gmail.com";
};
extraConfig = { extraConfig = {
safe = { safe = {
# Marks the web directory as safe even though I don't own it. # Marks the web directory as safe even though I don't own it.

View File

@@ -9,6 +9,7 @@
"/features/development/markdown.nix" "/features/development/markdown.nix"
"/features/development/typescript.nix" "/features/development/typescript.nix"
"/features/development/vscode.nix" "/features/development/vscode.nix"
"/features/email.nix"
"/features/eww" "/features/eww"
"/features/image-editing.nix" "/features/image-editing.nix"
"/features/linux-desktop.nix" "/features/linux-desktop.nix"
@@ -29,9 +30,9 @@
home.username = "drew"; home.username = "drew";
home.homeDirectory = "/home/drew"; home.homeDirectory = "/home/drew";
programs.git = { programs.git.settings.user = {
userName = "Drew Haven"; name = "Drew Haven";
userEmail = "periodic@blazestar.net"; email = "periodic@blazestar.net";
}; };
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {