macos is building
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
./git
|
./git
|
||||||
./xdg
|
./xdg
|
||||||
./nh
|
./nh
|
||||||
./udiskie
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dots = {
|
dots = {
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
git.enable = lib.mkDefault true;
|
git.enable = lib.mkDefault true;
|
||||||
xdg.enable = lib.mkDefault true;
|
xdg.enable = lib.mkDefault true;
|
||||||
nh.enable = lib.mkDefault true;
|
nh.enable = lib.mkDefault true;
|
||||||
udiskie.enable = lib.mkDefault false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ in {
|
|||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSshSupport = true;
|
enableSshSupport = true;
|
||||||
pinentry.package = pkgs.pinentry-qt;
|
#pinentry.package = pkgs.pinentry-qt;
|
||||||
pinentry.program = "pinentry-qt";
|
#pinentry.program = "pinentry-qt";
|
||||||
};
|
};
|
||||||
# install pinentry programs conditionaly based on os
|
# install pinentry programs conditionaly based on os
|
||||||
home.packages =
|
home.packages =
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
program = "udiskie";
|
|
||||||
cfg = config.dots.${program};
|
|
||||||
home_dir = config.home.homeDirectory;
|
|
||||||
in {
|
|
||||||
options.dots.${program} = {
|
|
||||||
enable = lib.mkEnableOption "enables ${program}";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services.${program} = {
|
|
||||||
enable = true;
|
|
||||||
automount = true;
|
|
||||||
notify = true;
|
|
||||||
tray = "auto";
|
|
||||||
settings = {
|
|
||||||
program_options = {
|
|
||||||
};
|
|
||||||
device_config = [
|
|
||||||
{
|
|
||||||
id_uuid = ["4E21-0000" "9EA2-A886"];
|
|
||||||
automount = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
id_type = "ntfs";
|
|
||||||
skip = "true";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# add userspace tools
|
|
||||||
home.packages = with pkgs; [udiskie];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -13,5 +13,6 @@
|
|||||||
./tofi
|
./tofi
|
||||||
./clipboard
|
./clipboard
|
||||||
./cursor
|
./cursor
|
||||||
|
./udiskie
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user