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

View file

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

View file

@ -12,6 +12,7 @@
./fzf.nix
./gh.nix
./git.nix
./gpg.nix
./hyfetch.nix
./just.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 = {
enable = true;
# Needs to be wrapped with GPU driver libraries on non-NixOS systems.
# package = (config.lib.nixGL.wrap pkgs.wezterm);
# Non-NixOS Linux systems don't have proper GPU integration, so we
# unfortunately need to use the native package manager version.
package = pkgs.emptyDirectory;
# TODO: create `local config` & return it seperately, so other modules can