Home/Nixinator: Link kdeconnect secrets to ~/.config/kdeconnect
This commit is contained in:
@ -131,23 +131,34 @@
|
|||||||
steam-devices-udev-rules
|
steam-devices-udev-rules
|
||||||
];
|
];
|
||||||
|
|
||||||
file = {
|
file = lib.mkMerge [
|
||||||
".local/share/applications/jetbrains-rider.desktop".source = let
|
{
|
||||||
desktopFile = pkgs.makeDesktopItem {
|
".local/share/applications/jetbrains-rider.desktop".source = let
|
||||||
name = "jetbrains-rider";
|
desktopFile = pkgs.makeDesktopItem {
|
||||||
desktopName = "Rider";
|
name = "jetbrains-rider";
|
||||||
exec = "\"${rider}/bin/rider\"";
|
desktopName = "Rider";
|
||||||
icon = "rider";
|
exec = "\"${rider}/bin/rider\"";
|
||||||
type = "Application";
|
icon = "rider";
|
||||||
# Don't show desktop icon in search or run launcher
|
type = "Application";
|
||||||
extraConfig.NoDisplay = "true";
|
# Don't show desktop icon in search or run launcher
|
||||||
};
|
extraConfig.NoDisplay = "true";
|
||||||
in "${desktopFile}/share/applications/jetbrains-rider.desktop";
|
};
|
||||||
|
in "${desktopFile}/share/applications/jetbrains-rider.desktop";
|
||||||
|
|
||||||
".var/app/com.valvesoftware.Steam/config/MangoHud/MangoHud.conf".source = ../../../config/mangohud/MangoHud.conf;
|
".var/app/com.valvesoftware.Steam/config/MangoHud/MangoHud.conf".source = ../../../config/mangohud/MangoHud.conf;
|
||||||
|
}
|
||||||
# ".var/app/com.valvesoftware.Steam/config/MangoHud/MangoHud.conf".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.dotfiles}/mangohud/MangoHud.conf";
|
(lib.optionalAttrs nixosConfig.programs.kdeconnect.enable {
|
||||||
};
|
".config/kdeconnect/certificate.pem".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink
|
||||||
|
"${nixosConfig.sops.secrets.kdeconnect-cert.path}";
|
||||||
|
".config/kdeconnect/privateKey.pem".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink
|
||||||
|
"${nixosConfig.sops.secrets.kdeconnect-privatekey.path}";
|
||||||
|
".config/kdeconnect/trusted_devices".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink
|
||||||
|
"${nixosConfig.sops.secrets.kdeconnect-devices.path}";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# Do not change.
|
# Do not change.
|
||||||
# This marks the version when NixOS was installed for backwards-compatibility.
|
# This marks the version when NixOS was installed for backwards-compatibility.
|
||||||
|
Reference in New Issue
Block a user