Compare commits

...

8 Commits

Author SHA1 Message Date
3b500da3a4 new plists 2025-07-02 01:06:06 +02:00
4031657854 rename 2025-07-02 01:05:17 +02:00
bb9aa33132 don't sleep 2025-07-02 00:58:34 +02:00
309c4c8d02 add ordio config 2025-07-02 00:54:23 +02:00
e746a81578 signing commits 2025-07-02 00:32:08 +02:00
3a7470cce7 ordio stuff and cleanup 2025-07-02 00:11:56 +02:00
a4d815202e Refactor SSH config to use host-specific keys and disable nix
- Convert SSH config to template with @SSH_KEY@ placeholder
- Add sshKey field to host configurations (mac14, ordio)
- Update home.nix to dynamically substitute SSH keys per host
- Change docker cask to docker-desktop in cask.nix
- Add development packages to ordio host (mkcert, dnsmasq, etc.)
- Disable nix in darwin.nix configuration
2025-07-02 00:11:31 +02:00
1dc5eb19f5 remove unused host 2025-07-02 00:10:51 +02:00
20 changed files with 24 additions and 37 deletions

View File

@@ -15,7 +15,7 @@
"lihaoyun6/tap/quickrecorder"
# Dev
"docker"
"docker-desktop"
"sloth"
"vscodium"
"bruno"

View File

@@ -6,6 +6,7 @@
...
}:
{
nix.enable = false;
nix.settings.experimental-features = "nix-command flakes";
# Set Git commit hash for darwin-version.
@@ -69,6 +70,13 @@
remapCapsLockToEscape = true;
};
# Power
power = {
sleep = {
computer = "never";
};
};
# Other
system.startup.chime = false;

View File

@@ -1,4 +0,0 @@
[user]
name = cupcakearmy
email = hi@nicco.io
signingkey = 3235314B4D31232F

View File

@@ -1,4 +0,0 @@
[user]
name = Niccolo Borgioli
email = hi@nicco.io
signingkey = 4897ACD13A65977C

View File

@@ -7,18 +7,19 @@
excludesfile = ~/.gitignore_global
autocrlf = input
ignorecase=false
[commit]
gpgsign = false
[pull]
rebase = false
[push]
autoSetupRemote = true
[branch]
sort = -committerdate
[alias]
fpush = push --force-with-lease
[tag]
gpgsign = true
[commit]
gpgsign = true
[include]
path = ~/.gitconfig.local

View File

@@ -29,11 +29,13 @@
".config/ghostty/config".source = ../files/ghostty/config;
".gitconfig".source = ../files/git/gitconfig;
".gitignore_global".source = ../files/git/gitignore_global;
".gitconfig.local".source = ../files/git/config.work;
".gitconfig.local".source = ../secrets/git/config.${host.hostName};
".config/nvim".source = ../files/nvim;
# Secrets
".ssh/config".source = ../secrets/ssh/config;
".ssh/config".text = builtins.replaceStrings [ "@SSH_KEY@" ] [ host.sshKey ] (
builtins.readFile ../secrets/ssh/config.template
);
};
shellAliases = {

View File

@@ -1,5 +1,4 @@
[
(import ./mac14.nix)
(import ./mac16.nix)
(import ./ordio.nix)
]

View File

@@ -2,6 +2,7 @@
username = "cupcakearmy";
hostName = "mac14";
platform = "aarch64-darwin";
sshKey = "legba";
extras = {
casks = [

View File

@@ -1,22 +0,0 @@
{
username = "niccoloborgioli";
hostName = "mac16";
platform = "aarch64-darwin";
extras = {
casks = [
"phpstorm"
"datagrip"
"tailscale"
"android-studio"
];
pkgs =
pkgs: with pkgs; [
phrase-cli
boundary
awscli2
_1password-cli
vault
];
};
}

View File

@@ -2,12 +2,18 @@
username = "nicco";
hostName = "ordio";
platform = "aarch64-darwin";
sshKey = "ordio";
extras = {
casks = [
"tableplus"
"http-toolkit"
"phpstorm"
];
pkgs =
pkgs: with pkgs; [
mkcert
dnsmasq
];
};
}

BIN
secrets/git/config.mac14 Normal file

Binary file not shown.

BIN
secrets/git/config.ordio Normal file

Binary file not shown.

Binary file not shown.

BIN
secrets/ssh/config.template Normal file

Binary file not shown.