Home manager applied to caesium

This commit is contained in:
2026-07-28 01:39:27 -04:00
parent cbf3d7bc38
commit ed7cce8ec4
6 changed files with 158 additions and 80 deletions
+6 -67
View File
@@ -1,32 +1,24 @@
{ config, inputs, pkgs, ... }: {
home.stateVersion = "23.11";
home.username = "mbessette";
home.homeDirectory = "/home/mbessette";
home.packages = with pkgs; [];
programs.home-manager.enable = true;
home.packages = with pkgs; [
claude-desktop
firefox
wowup-cf
faugus-launcher
ghostty
];
services.flatpak = {
packages = [
com.spotify.Client
com.discordapp.Discord
"com.spotify.Client"
"com.discordapp.Discord"
"flathub:app/com.anthropic.Claude/x86_64/stable"
];
overrides = [];
};
programs.zsh.shellAliases = {
claude = "nix run github:sadjow/claude-code-nix";
};
# Managed VS Code Extensions (The "Clean" Way)
programs.vscode = {
enable = true;
package = pkgs.vscode-fhs;
@@ -38,24 +30,6 @@
};
};
# Automatically load the 1Password agent in your shell
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initContent = ''
export SSH_AUTH_SOCK=~/.1password/agent.sock
'';
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch --flake ~/nixos#caesium";
nixos = "code ~/nixos";
};
};
home.sessionVariables = {
NPM_CONFIG_PREFIX = "/mnt/Projects/.npm-global/.npm-global";
};
@@ -67,39 +41,4 @@
home.file.".npmrc".text = ''
prefix=/mnt/Projects/.npm-global/.npm-global
'' ;
home.file.".config/1Password/ssh/agent.toml".source = ./config.agent.toml;
# ~/.config (dotfiles)
xdg.enable = true;
xdg.configFile."ssh.conf".source = ./config.ssh.conf;
programs.ssh = {
enable = true;
enableDefaultConfig = false;
extraConfig = builtins.readFile ./config.ssh.conf;
matchBlocks = {
"*" = {
controlMaster = "auto";
controlPath = "~/.ssh/master-%r@%h:%p";
};
};
};
programs.git = {
enable = true;
signing.format = null;
settings.user = {
name = "Matthew Bessette";
email = "bessette.matthew94@gmail.com";
};
settings.init.defaultBranch = "main";
# This creates ~/.config/git/ignore and sets core.excludesFile
ignores = [
];
};
}