Compare commits

...

3 commits

Author SHA1 Message Date
211f7d40aa
chore(home-manager): Remove nixGL 2024-11-11 21:29:11 -08:00
dc50185e3f
fix(flake): Fix BabeNet Git domain
Also add a TODO
2024-11-11 21:29:04 -08:00
53871bf139
feat(gpg): Configure gpg & agent 2024-11-11 19:17:47 -08:00
5 changed files with 25 additions and 16 deletions

View file

@ -9,11 +9,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# nixgl.url = "github:nix-community/nixGL"; rose-pine.url = "git+https://codewith.babesonthe.net/punkfairie/rose-pine-nix";
rose-pine.url = "git+https://git.punkfairie.net/punkfairie/rose-pine-nix";
# Rose pine themes that aren't included in the above flake: # Rose pine themes that aren't included in the above flake:
# TODO: Integrate these to punkfairie/rose-pine-nix.
rose-pine-amfora = { rose-pine-amfora = {
url = "github:rose-pine/amfora"; url = "github:rose-pine/amfora";
flake = false; flake = false;
@ -39,9 +38,7 @@
home-manager.lib.homeManagerConfiguration { home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = # with inputs; extraSpecialArgs = {
{
# inherit nixgl;
inherit inputs; inherit inputs;
}; };

View file

@ -9,11 +9,6 @@
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
# GPU integration.
# nixGL.packages = nixgl.packages;
# nixGL.defaultWrapper = "nvidia";
# nixGL.installScripts = [ "nvidia" ];
home.language.base = "en_US.UTF-8"; home.language.base = "en_US.UTF-8";
# Tell nix what version it is. # Tell nix what version it is.

View file

@ -12,6 +12,7 @@
./fzf.nix ./fzf.nix
./gh.nix ./gh.nix
./git.nix ./git.nix
./gpg.nix
./hyfetch.nix ./hyfetch.nix
./just.nix ./just.nix
./lazygit.nix ./lazygit.nix

17
home/programs/gpg.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
programs.gpg = {
enable = true;
};
services.gpg-agent = rec {
enable = true;
# TODO: Set this to pinentry-curses on non-GUI systems.
pinentryPackage = pkgs.pinentry-gtk2;
# Don't ask for the password very often.
defaultCacheTtl = 60480000;
maxCacheTtl = defaultCacheTtl;
};
}

View file

@ -3,9 +3,8 @@
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
# Needs to be wrapped with GPU driver libraries on non-NixOS systems. # Non-NixOS Linux systems don't have proper GPU integration, so we
# package = (config.lib.nixGL.wrap pkgs.wezterm); # unfortunately need to use the native package manager version.
package = pkgs.emptyDirectory; package = pkgs.emptyDirectory;
# TODO: create `local config` & return it seperately, so other modules can # TODO: create `local config` & return it seperately, so other modules can