Skip to content

Commit

Permalink
fix some system things that broke with update
Browse files Browse the repository at this point in the history
  • Loading branch information
redxtech committed Mar 29, 2024
1 parent 349a155 commit a85bd55
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

2 changes: 0 additions & 2 deletions home/gabe/features/cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ with lib; {
./fish.nix
./git.nix
./gpg.nix
# ./jujutsu.nix
# ./lyrics.nix
./neovim.nix
./nix-index.nix
./programs.nix
Expand Down
16 changes: 5 additions & 11 deletions home/gabe/features/cli/gpg.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
{ pkgs, config, lib, ... }:
let
pinentry = if config.gtk.enable then {
packages = [ pkgs.pinentry-gnome3 pkgs.gcr ];
name = "gnome3";
} else {
packages = [ pkgs.pinentry-curses ];
name = "curses";
};
in {
home.packages = pinentry.packages;

{
home.packages = with pkgs; [ gcr pinentry-curses pinentry-gnome3 ];

services.gpg-agent = {
enable = false;
enableSshSupport = true;
sshKeys = [ "11148591F2B2026E9B2227BD5C7A1973A2838278" ];
pinentryFlavor = pinentry.name;
pinentryPackage =
if config.gtk.enable then pkgs.pinentry-gnome3 else pkgs.pinentry-curses;
enableExtraSocket = true;
};

Expand Down
1 change: 0 additions & 1 deletion home/gabe/voyager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
wm.wm = "bspwm";

isLaptop = true;
remap = true;

hardware = {
cpuTempPath = "/sys/devices/platform/coretemp.0/hwmon/hwmon6/temp1_input";
Expand Down
1 change: 1 addition & 0 deletions hosts/voyager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
enable = true;
isLaptop = true;
useZen = true;
remap = true;
wm = "bspwm";

gaming = {
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ in {
};

# dbus packages
services.dbus.packages = with pkgs; [ python310Packages.dbus-python ];
services.dbus.packages = with pkgs; [ gcr python310Packages.dbus-python ];

# udev
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
Expand Down

0 comments on commit a85bd55

Please sign in to comment.