pulled out crypto

This commit is contained in:
ari committed 2024-09-04 11:24:05 -04:00
1 parent 91e8109117
commit 15494d9974
6 files changed
+57 -14

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.skyg.nixos.desktop.crypto;
in
{
options = {
skyg.nixos.desktop.crypto = {
enabled = mkEnableOption
"Enable crypto wallets";
};
};
config = mkIf cfg.enabled {
environment.systemPackages = with pkgs; [
trezor-suite
trezord
ledger-live-desktop
];
# udev rules for crypto wallets
services.udev.packages = with pkgs; [
ledger-udev-rules
trezor-udev-rules
];
# trezor groups
users.groups.trezord = { };
users.groups.trezord.members = [ config.skyg.user.name ];
};
}
@@ -26,6 +26,7 @@ in
lxqt.lxqt-policykit
xdg-desktop-portal
xdg-desktop-portal-hyprland
auto-cpufreq
# general utilities
brightnessctl # brightness ctl
+3
View File
@@ -19,6 +19,9 @@ in
waypaper # wallpaper manager
swww # wallpaper service
waybar # top bar
nwg-panel # top bar
nwg-dock-hyprland # bottom bar
nwg-displays # display management
nwg-bar # logout window
];
system.userActivationScripts.hyprlandMineConfig.text = ''
@@ -12,7 +12,6 @@ in
nwg-bar
nwg-menu
nwg-look
nwg-dock
nwg-panel
nwg-hello
nwg-drawer