Add thinkpad to syncthing peers

This commit is contained in:
Yan Lin 2025-09-13 11:15:07 +02:00
parent 765e80c978
commit 8d0753fd0a
4 changed files with 40 additions and 7 deletions

View file

@ -6,6 +6,7 @@
../home-default.nix ../home-default.nix
../../../modules/firefox.nix ../../../modules/firefox.nix
../../../modules/plasma.nix ../../../modules/plasma.nix
../../../modules/syncthing.nix
plasma-manager.homeModules.plasma-manager plasma-manager.homeModules.plasma-manager
]; ];

View file

@ -78,7 +78,7 @@
# Bluetooth support # Bluetooth support
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = false; # Save battery powerOnBoot = true;
settings = { settings = {
General = { General = {
Enable = "Source,Sink,Media,Socket"; Enable = "Source,Sink,Media,Socket";
@ -185,8 +185,8 @@
RUNTIME_PM_ON_AC = "on"; RUNTIME_PM_ON_AC = "on";
RUNTIME_PM_ON_BAT = "auto"; RUNTIME_PM_ON_BAT = "auto";
# Disable Bluetooth on battery to save power # Keep Bluetooth available on battery
DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE = "bluetooth"; # DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE = "bluetooth";
}; };
}; };

View file

@ -4,6 +4,10 @@
# Enable plasma configuration # Enable plasma configuration
programs.plasma.enable = true; programs.plasma.enable = true;
# Set dark theme
programs.plasma.workspace.theme = "breeze-dark";
programs.plasma.workspace.colorScheme = "BreezeDark";
# Configure Konsole through plasma-manager # Configure Konsole through plasma-manager
programs.konsole = { programs.konsole = {
enable = true; enable = true;
@ -16,7 +20,7 @@
colorScheme = "Breeze"; colorScheme = "Breeze";
extraConfig = { extraConfig = {
General.SilenceSeconds = 0; General.SilenceSeconds = 0;
"Scrolling".ScrollBarPosition = 0; "Scrolling".ScrollBarPosition = 2;
"Terminal Features" = { "Terminal Features" = {
BlinkingTextEnabled = true; BlinkingTextEnabled = true;
FlowControlEnabled = true; FlowControlEnabled = true;
@ -50,6 +54,31 @@
{ {
location = "bottom"; location = "bottom";
hiding = "autohide"; hiding = "autohide";
widgets = [
"org.kde.plasma.kickoff"
{
iconTasks = {
launchers = [
"applications:org.kde.dolphin.desktop"
"applications:firefox.desktop"
"applications:org.kde.konsole.desktop"
"applications:org.keepassxc.KeePassXC.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
{
systemTray.items = {
shown = [
"org.kde.plasma.bluetooth"
"org.kde.plasma.battery"
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
];
};
}
"org.kde.plasma.digitalclock"
];
} }
]; ];
} }

View file

@ -32,13 +32,16 @@
"hs" = { "hs" = {
id = "GH5D3DJ-PAGKBL6-3VDZJRT-QG4ZMRD-GHCCA3Y-HM2H5CE-NAMJYRR-VHLOOQH"; id = "GH5D3DJ-PAGKBL6-3VDZJRT-QG4ZMRD-GHCCA3Y-HM2H5CE-NAMJYRR-VHLOOQH";
}; };
"thinkpad" = {
id = "OMZKASU-QPZDCQ2-7QRHRD4-3TPAXLM-AYRMWXB-A6E5OIZ-MGR422V-JYARQA6";
};
}; };
# Define shared folders # Define shared folders
folders = { folders = {
"Credentials" = { "Credentials" = {
path = "~/Credentials"; path = "~/Credentials";
devices = [ "ipad" "mba" "iphone" "imac" "hs" ]; devices = [ "ipad" "mba" "iphone" "imac" "hs" "thinkpad" ];
ignorePerms = true; ignorePerms = true;
versioning = { versioning = {
type = "staggered"; type = "staggered";
@ -50,7 +53,7 @@
}; };
"Documents" = { "Documents" = {
path = "~/Documents"; path = "~/Documents";
devices = [ "mba" "imac" "hs" ]; devices = [ "mba" "imac" "hs" "thinkpad" ];
ignorePerms = true; ignorePerms = true;
versioning = { versioning = {
type = "staggered"; type = "staggered";
@ -62,7 +65,7 @@
}; };
"Obsidian" = { "Obsidian" = {
path = "~/Obsidian"; path = "~/Obsidian";
devices = [ "ipad" "mba" "iphone" "imac" "hs" ]; devices = [ "ipad" "mba" "iphone" "imac" "hs" "thinkpad" ];
ignorePerms = true; ignorePerms = true;
versioning = { versioning = {
type = "staggered"; type = "staggered";