aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/desktop.nix2
-rw-r--r--tools/common.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index d5e8b80..934eaf9 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -258,7 +258,7 @@ in {
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
- ALLOW_GROUPS = [ "users" ];
+ ALLOW_GROUPS = ["users"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
};
diff --git a/tools/common.sh b/tools/common.sh
index dddb196..a563171 100644
--- a/tools/common.sh
+++ b/tools/common.sh
@@ -43,6 +43,9 @@ sshdest() {
# Reverse opeartion for sshdest
sshhost() {
+ if [ "$1" = "cynerd.cz" ]; then
+ echo "lipwig"
+ fi
awk -F. 'NF > 1 { print $2"-"$1; exit } { print $1 }' <<<"$1"
}