3 Commits

4 changed files with 15 additions and 15 deletions

View File

@@ -2,8 +2,14 @@
{
# enable gnupg agent
services.gnupg.agent = {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-curses;
};
environment.systemPackages = with pkgs; [
gnupg
pinentry-curses
];
}

View File

@@ -11,7 +11,6 @@
file
ghostty
git
gnupg
imagemagick
imv
iperf3

View File

@@ -2,7 +2,7 @@
{
# use flakes and nix command
nix.settings.experimental-feature = [ "nix-command" "flakes" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# links /libexec from derivations to /run/current-system/sw
environment.pathsToLink = [ "/libexec" ];

View File

@@ -4,6 +4,13 @@
# user config
home.username = "aaron";
home.homeDirectory = "/home/aaron";
# set env vars
home.sessionVariables = {
EDITOR = "vim";
NH_FLAKE = "/home/aaron/git/nixconfig";
};
# don't change
home.stateVersion = "25.11";
# nixvim config
programs.nixvim = {
@@ -137,20 +144,8 @@
};
};
# set env vars
home.sessionVariables = {
EDITOR = "vim";
};
# add flake env variable for nh
environment.sessionVariables = {
NH_FLAKE = "/home/aaron/git/nixconfig";
};
# enable syncthing for user
services.syncthing.enable = true;
# enable home manager
programs.home-manager.enable = true;
# don't change
home.stateVersion = "25.11";
}