3 Commits

4 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
{ {
# use flakes and nix command # 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 # links /libexec from derivations to /run/current-system/sw
environment.pathsToLink = [ "/libexec" ]; environment.pathsToLink = [ "/libexec" ];

View File

@@ -4,6 +4,13 @@
# user config # user config
home.username = "aaron"; home.username = "aaron";
home.homeDirectory = "/home/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 # nixvim config
programs.nixvim = { 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 # enable syncthing for user
services.syncthing.enable = true; services.syncthing.enable = true;
# enable home manager # enable home manager
programs.home-manager.enable = true; programs.home-manager.enable = true;
# don't change
home.stateVersion = "25.11";
} }