Skip to content

Commit

Permalink
fix(cheetah)!: nixpkgs.overlays && gpg
Browse files Browse the repository at this point in the history
Fix `gpg` as `ssh` setup (also add `openssh` to `home.packages`)
Remove `j` (breaking, cannot build)
  • Loading branch information
reo101 committed Dec 26, 2023
1 parent 581b1d9 commit 02f7fe0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
25 changes: 12 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
system.stateVersion = "22.11";

nix.extraOptions = ''
experimental-features = nix-command flakes repl-flake
experimental-features = nix-command flakes repl-flake recursive-nix
keep-outputs = true
keep-derivations = true
'';
Expand Down
18 changes: 11 additions & 7 deletions machines/nix-on-droid/aarch64-linux/cheetah/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
# clang
gcc

openssh
diffutils
findutils
utillinux
Expand Down Expand Up @@ -72,7 +73,7 @@
# emacs

#
j
# j
];

programs.neovim = {
Expand Down Expand Up @@ -104,6 +105,7 @@
enable = true;
username = "reo101";
hostname = "cheetah";
atuin = true;
direnv = true;
zoxide = true;
};
Expand All @@ -118,16 +120,18 @@
enable = true;
userName = "reo101";
userEmail = "[email protected]";
signing = {
signByDefault = true;
key = "675AA7EF13964ACB";
};
};

services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
defaultCacheTtl = 86400;
maxCacheTtl = 86400;
pinentryFlavor = "tty";
enableSshSupport = true;
sshKeys = ["CFDE97EDC2FDB2FD27020A084F1E3F40221BAFE7"];
};

# Using nix-direnv
# services.lorri = {
# enable = true;
# };
}
9 changes: 5 additions & 4 deletions util/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,17 @@ rec {
modules = [
(lib.path.append root "configuration.nix")
{ nix.registry.nixpkgs.flake = nixpkgs; }
{
nixpkgs.overlays = builtins.attrValues outputs.overlays;
}
{
home-manager = {
config = (lib.path.append root "home.nix");
backupFileExtension = "hm-bak";
useGlobalPkgs = false;
useUserPackages = true;
sharedModules = builtins.attrValues homeManagerModules;
sharedModules = builtins.attrValues homeManagerModules ++ [
{
nixpkgs.overlays = builtins.attrValues outputs.overlays;
}
];
extraSpecialArgs = {
inherit inputs outputs;
inherit hostname;
Expand Down

0 comments on commit 02f7fe0

Please sign in to comment.