???
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
users.atridad = { pkgs, lib, ... }: {
|
||||
imports = [
|
||||
./zed.nix
|
||||
./ssh.nix
|
||||
./git.nix
|
||||
./ghostty.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
||||
15
modules/home/ghostty.nix
Normal file
15
modules/home/ghostty.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
package = lib.mkForce (pkgs.runCommand "ghostty-stub" { } "mkdir -p $out");
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
settings = {
|
||||
theme = "Catppuccin Macchiato";
|
||||
background-opacity = "0.95";
|
||||
};
|
||||
};
|
||||
}
|
||||
16
modules/home/git.nix
Normal file
16
modules/home/git.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "Atridad Lahiji";
|
||||
userEmail = "me@atri.dad";
|
||||
|
||||
signing = {
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILKb+pDgkHEKI7LDWvZbhoLJ11uJMaCmVyAqotDxNOI7 me@atri.dad";
|
||||
signByDefault = true;
|
||||
format = "ssh";
|
||||
};
|
||||
};
|
||||
}
|
||||
29
modules/home/ssh.nix
Normal file
29
modules/home/ssh.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
extraConfig = ''
|
||||
IdentityAgent /Users/atridad/.bitwarden-ssh-agent.sock
|
||||
'';
|
||||
|
||||
matchBlocks = {
|
||||
"localhost" = {
|
||||
userKnownHostsFile = "/dev/null";
|
||||
};
|
||||
"tux" = {
|
||||
hostname = "tuxworld.usask.ca";
|
||||
user = "atl175";
|
||||
};
|
||||
"haschel" = {
|
||||
hostname = "haschel";
|
||||
user = "root";
|
||||
};
|
||||
"lloyd" = {
|
||||
hostname = "lloyd";
|
||||
user = "truenas_admin";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user