Skip to content

Commit 9d30dad

Browse files
committed
treewide: fix deprecations
1 parent e6526ad commit 9d30dad

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

home/terminal/programs/cli.nix

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,41 @@
2929
eza.enable = true;
3030
ssh = {
3131
enable = true;
32+
enableDefaultConfig = false;
3233

33-
matchBlocks."cloudut" = {
34-
hostname = "10.20.7.115";
35-
user = "cloud7115";
36-
identityFile = "${config.home.homeDirectory}/.ssh/cloud7115_id_ed25519";
34+
matchBlocks = {
35+
# default ssh config
36+
"*" = {
37+
addKeysToAgent = "no";
38+
certificateFile = [ ];
39+
checkHostIP = true;
40+
compression = false;
41+
controlMaster = "no";
42+
controlPath = "~/.ssh/master-%r@%n:%p";
43+
controlPersist = "no";
44+
dynamicForwards = [ ];
45+
extraOptions = { };
46+
forwardAgent = false;
47+
forwardX11 = false;
48+
forwardX11Trusted = false;
49+
hashKnownHosts = false;
50+
identitiesOnly = false;
51+
identityAgent = [ ];
52+
identityFile = [ ];
53+
localForwards = [ ];
54+
remoteForwards = [ ];
55+
sendEnv = [ ];
56+
serverAliveCountMax = 3;
57+
serverAliveInterval = 0;
58+
setEnv = { };
59+
userKnownHostsFile = "~/.ssh/known_hosts";
60+
};
61+
62+
"cloudut" = {
63+
hostname = "10.20.7.115";
64+
user = "cloud7115";
65+
identityFile = "${config.home.homeDirectory}/.ssh/cloud7115_id_ed25519";
66+
};
3767
};
3868
};
3969
};

system/services/power.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
services = {
3-
logind.powerKey = "suspend";
3+
logind.settings.Login.HandlePowerKey = "suspend";
44

55
power-profiles-daemon.enable = true;
66

0 commit comments

Comments
 (0)