mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-04 03:53:35 +08:00
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
# This machine uses Omarchy
|
|
#
|
|
# So we consciously pick what we need
|
|
{ flake, ... }:
|
|
let
|
|
inherit (flake) inputs;
|
|
inherit (inputs) self;
|
|
homeMod = self + /modules/home;
|
|
in
|
|
{
|
|
imports = [
|
|
"${homeMod}/claude-code"
|
|
"${homeMod}/all/git.nix"
|
|
"${homeMod}/all/just.nix"
|
|
"${homeMod}/all/direnv.nix"
|
|
"${homeMod}/all/starship.nix"
|
|
"${homeMod}/all/bash.nix"
|
|
"${homeMod}/all/terminal.nix"
|
|
];
|
|
|
|
# Bash custom configuration
|
|
programs.bash = {
|
|
# Not using this ^ because our starship provides direnv integration.
|
|
# bashrcExtra = ''
|
|
# # Omarchy integration
|
|
# source ~/.local/share/omarchy/default/bash/rc
|
|
# '';
|
|
};
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
matchBlocks = {
|
|
"*" = {
|
|
extraOptions = {
|
|
# Configure SSH to use 1Password agent
|
|
IdentityAgent = "~/.1password/agent.sock";
|
|
};
|
|
};
|
|
"pureintent" = {
|
|
forwardAgent = true;
|
|
};
|
|
"sincereintent" = {
|
|
forwardAgent = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
home.username = "srid";
|
|
home.stateVersion = "25.05";
|
|
}
|