From 2cef422c648b8e2cf43011ac64d321b30e904346 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 22 Apr 2024 15:24:37 +0200 Subject: [PATCH] updates and smaller fixes --- flake.lock | 18 +++++++++--------- hosts/thinkpad/hardware-configuration.nix | 2 +- users/rouven/modules/packages.nix | 1 + users/rouven/modules/ssh/default.nix | 9 +++------ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 489fa63..65d7a41 100644 --- a/flake.lock +++ b/flake.lock @@ -216,11 +216,11 @@ ] }, "locked": { - "lastModified": 1713479476, - "narHash": "sha256-kTww3Hd+R95AB6J+Y1zvXrhUScgMzf0vV5hN6+wFPXE=", + "lastModified": 1713789879, + "narHash": "sha256-4Wt3Bg6uOnvwZcECBZaFEdzlWRlGLgd8DqLL4ugLdxg=", "owner": "nix-community", "repo": "home-manager", - "rev": "ffc3600f4009ca39b6cb63b24127ca4f93792854", + "rev": "46833c3115e8858370880d892748f0927d8193c3", "type": "github" }, "original": { @@ -317,11 +317,11 @@ ] }, "locked": { - "lastModified": 1713067146, - "narHash": "sha256-9D20xjblGKEVRVCnM3qWhiizEa9i6OpK6xQJajwcwOQ=", + "lastModified": 1713668931, + "narHash": "sha256-rVlwWQlgFGGK3aPVcKmtYqWgjYnPah5FOIsYAqrMN2w=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "93aed67288be60c9ef6133ba2f8de128f4ef265c", + "rev": "07ece11b22217b8459df589f858e92212b74f1a1", "type": "github" }, "original": { @@ -332,11 +332,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1713297878, - "narHash": "sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi+XNaBN6h49SPqEc=", + "lastModified": 1713714899, + "narHash": "sha256-+z/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "66adc1e47f8784803f2deb6cacd5e07264ec2d5c", + "rev": "6143fc5eeb9c4f00163267708e26191d1e918932", "type": "github" }, "original": { diff --git a/hosts/thinkpad/hardware-configuration.nix b/hosts/thinkpad/hardware-configuration.nix index 25e0625..0497cf5 100644 --- a/hosts/thinkpad/hardware-configuration.nix +++ b/hosts/thinkpad/hardware-configuration.nix @@ -89,6 +89,6 @@ boot.resumeDevice = "/dev/disk/by-uuid/1dd20f07-877c-4ee5-bef5-5e8c6ebe7927"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index ae98767..f3be671 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -107,6 +107,7 @@ "image/ico" = image-viewers; "x-scheme-handler/http" = browsers; "x-scheme-handler/https" = browsers; + "x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ]; }; }; } diff --git a/users/rouven/modules/ssh/default.nix b/users/rouven/modules/ssh/default.nix index 7c5e6e3..62ddb55 100644 --- a/users/rouven/modules/ssh/default.nix +++ b/users/rouven/modules/ssh/default.nix @@ -13,6 +13,7 @@ in CanonicalDomains agdsn.network vpn.rfive.de PKCS11Provider /run/current-system/sw/lib/libtpm2_pkcs11.so IdentityFile ~/.ssh/id_ed25519 + SetEnv TERM=xterm-256color VisualHostKey = yes ''; matchBlocks = { @@ -36,17 +37,13 @@ in }; # iFSR - "fsr" = { - hostname = "ifsr.de"; - user = "rouven.seifert"; - }; "quitte" = { hostname = "quitte.ifsr.de"; - user = "root"; + user = "rouven.seifert"; }; "tomate" = { hostname = "tomate.ifsr.de"; - user = "root"; + user = "rouven.seifert"; extraOptions = { ProxyJump = "tud"; };