add gtk, niri, noctalia, ssh, swaylock

This commit is contained in:
2026-07-27 15:10:46 +09:00
parent 5c2ff3cbcf
commit 79cc69045f
13 changed files with 644 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
{ lib, pkgs, ... }:
lib.mkMerge [
{
home.packages = [ pkgs.openssh ];
programs.ssh = {
enable = true;
enableDefaultConfig = false;
settings = {
"github.com" = {
HostName = "github.com";
User = "git";
AddKeysToAgent = "no";
};
"*.sfc.wide.ad.jp" = {
identityFile = "~/.ssh/id_ed25519_sk_rk";
identitiesOnly = true;
};
"*" = {
AddKeysToAgent = "no";
SetEnv.TERM = "xterm-256color";
};
};
extraConfig = ''
Match exec "test -S %d/.1password/agent.sock"
IdentityAgent %d/.1password/agent.sock
'';
};
}
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
systemd.user.sockets.gcr-ssh-agent.Install.WantedBy = lib.mkForce [ ];
services.ssh-agent.enable = lib.mkForce false;
})
]
+4
View File
@@ -0,0 +1,4 @@
{
programs.ssh.startAgent = false;
services.gnome.gcr-ssh-agent.enable = false;
}