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

@@ -3,4 +3,6 @@ exec-once = dunst --startup_notification
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = swww-daemon
exec-once = hypridle
exec-once = waybar
# exec-once = waybar
exec-once = nwg-panel
exec-once = nwg-dock-hyprland
+21 -12
View File
@@ -1,5 +1,5 @@
{ user, dataDir ? "/mnt/Data", unstable }:
{ pkgs, lib, config, ... }:
{ user, unstable }:
{ pkgs, ... }:
let
zshFWBook = builtins.filterSource (p: t: true) ./scripts/fwbook;
zshFunctions = zshFWBook + "/functions.sh";
@@ -14,8 +14,9 @@ in
kde.enabled = true;
hyprland = {
enabled = true;
useNWG = true;
useNWG = false;
};
crypto.enabled = true;
};
services.displayManager.defaultSession = "hyprland";
skyg.nixos.common.hardware.sound.enable = true;
@@ -55,21 +56,23 @@ in
amdctl
# python
python312
# crypto
trezor-suite
trezord
ledger-live-desktop
# skype
skypeforlinux
# Work
dvc-with-remotes
awscli
];
# 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 = [ user.name ];
programs.firefox = {
enable = true;
};
programs.chromium = {
enable = true;
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
"nngceckbapebfimnlniiiahkandclblb"
];
};
# # Opengl
hardware.opengl = {
driSupport = true;
@@ -157,4 +160,10 @@ in
'';
};
systemd.sleep.extraConfig = "HibernateDelaySec=30m";
# Family Storage
fileSystems."/mnt/EightTerra/FamilyStorage" = {
device = "tnas1.lab.internal:/mnt/EightTerra/FamilyStorage";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
}
+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