From 34b1fcb76db5cb130ff280971fb3128db0b21e78 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 7 Mar 2023 01:02:57 +0100 Subject: [PATCH] fix --- profiles/remote-builders/default.nix | 6 +++--- users/pbsds/home/default.nix | 2 +- users/pbsds/home/profiles/mpv.nix | 2 -- users/pbsds/home/profiles/shell.nix | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/profiles/remote-builders/default.nix b/profiles/remote-builders/default.nix index 873bdae..2775d17 100644 --- a/profiles/remote-builders/default.nix +++ b/profiles/remote-builders/default.nix @@ -19,7 +19,7 @@ let speedFactor = 2; supportedFeatures = [ "kvm" "big-parallel" "nixos-test" ]; #mandatoryFeatures = [ ]; - publicKey = "bolle.pbsds.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILeOB/57N1fQPVorIUlkkJZaQduBo+4+km2Qbj4ebd/k"; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILeOB/57N1fQPVorIUlkkJZaQduBo+4+km2Qbj4ebd/k"; proxy.user = "pederbs"; proxy.host = "isvegg.pvv.ntnu.no"; proxy.publicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGurF7rdnrDP/VgIK2Tx38of+bX/QGCGL+alrWnZ1Ca5llGneMulUt1RB9xZzNLHiaWIE+HOP0i4spEaeZhilfU="; @@ -34,7 +34,7 @@ let speedFactor = 1; supportedFeatures = [ "kvm" "big-parallel" "nixos-test" ]; #mandatoryFeatures = [ ]; - publicKey = "noximilien.pbsds.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3QhTGS03Sqm6OeCEz5AIGqJnBttKaBqMgNXp3Md7t4"; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3QhTGS03Sqm6OeCEz5AIGqJnBttKaBqMgNXp3Md7t4"; } /**/ { @@ -44,7 +44,7 @@ let maxJobs = 8; #maxJobs = 4; #maxJobs = 1; # at least for big-parallel - speedFactor = 3; + speedFactor = 2; supportedFeatures = [ "kvm" "big-parallel" ]; #mandatoryFeatures = [ ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGDuWdqEQ5mmVjuKi6f/Q2PFxuqB3URpgTHid06Vw7we"; diff --git a/users/pbsds/home/default.nix b/users/pbsds/home/default.nix index 467bf76..8ea2df8 100644 --- a/users/pbsds/home/default.nix +++ b/users/pbsds/home/default.nix @@ -22,7 +22,7 @@ fi # remote-exec - it command -v remote >/dev/null && remote-quick >/dev/null; then + if command -v remote >/dev/null && remote-quick >/dev/null; then complete -F _command remote complete -F _command remote-quick fi diff --git a/users/pbsds/home/profiles/mpv.nix b/users/pbsds/home/profiles/mpv.nix index d0c1241..fde316e 100644 --- a/users/pbsds/home/profiles/mpv.nix +++ b/users/pbsds/home/profiles/mpv.nix @@ -1,7 +1,5 @@ { pkgs, ... }: { - home.packages = with pkgs; [ mpv ]; - programs.mpv.enable = true; programs.mpv.bindings."n" = "sub-seek 1"; programs.mpv.bindings."SHIFT+n" = "sub-seek -1"; diff --git a/users/pbsds/home/profiles/shell.nix b/users/pbsds/home/profiles/shell.nix index 5d104c5..1d9435a 100644 --- a/users/pbsds/home/profiles/shell.nix +++ b/users/pbsds/home/profiles/shell.nix @@ -80,7 +80,7 @@ export PS1='\[\033[01;32m\]\u@\h\[\033[01;37m\] \[\033[01;34m\]\W\[\033[33m\]$(parse_git_branch)\[\033[01;32m\]\$\[\033[00m\] ' # tldr - it command -v tldr >/dev/null; then + if command -v tldr >/dev/null; then complete -F _command tldr fi '';